नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'identifier' : no GUID has been associated with this object
Remarks
The __uuidof operator takes a user-defined type with a GUID attached or an object of such a user-defined type. This error occurs when the argument is a user-defined type with no GUID.
Example
The following example generates C2787:
// C2787.cpp
#include <windows.h>
struct F {};
struct __declspec(uuid("00000000-0000-0000-c000-000000000046")) F2;
int main() {
__uuidof(F); // C2787
__uuidof(F2); // OK
}