Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
'class1' : a coclass cannot inherit from another coclass 'class2'
A class marked with the coclass attribute cannot inherit from another class marked with the coclass
attribute.
The following sample generates C3247:
// C3247.cpp
[module(name="MyLib")];
[coclass]
class a {
};
[coclass]
class b : public a { // C3247
};
int main() {
}