Export (0) Print
Expand All
Expand Minimize

Compiler Warning (level 1) C4917 (Windows CE 5.0)

Windows CE 5.0
Send Feedback

'declarator' : a GUID cannot only be associated with a class, interface or namespace

A user-defined structure other than class, interface, or namespace cannot have a GUID.

The following code sample generates C4917:

// compile with cl /c
__declspec(uuid("00000000-0000-0000-0000-000000000001")) struct S { } s;

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft