หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
'class1' : a coclass cannot inherit from another coclass 'class2'
Remarks
A class marked with the coclass attribute cannot inherit from another class marked with the coclass attribute.
Example
The following example generates C3247:
// C3247.cpp
[module(name="MyLib")];
[coclass]
class a {
};
[coclass]
class b : public a { // C3247
};
int main() {
}