หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
cannot change GUID for class 'class_name'
Remarks
You attempted to change the class ID with __declspec(uuid).
Example
For example, the following code generates C3121:
// C3121.cpp
[emitidl];
[module(name="MyLibrary")];
[coclass, uuid="00000000-0000-0000-0000-111111111111"]
class __declspec(uuid("00000000-0000-0000-0000-111111111112")) A // C3121
{
};
int main()
{
}