Thread: Define_GUID

  1. #1
    Unregistered
    Guest

    Question Define_GUID

    I need to keep track of my program's GUID, so i define it at the top using the following code.


    DEFINE_GUID(PROGRAMID,
    0x5ea9ff59, 0x657b, 0x40a1, 0xa5, 0x9, 0x76, 0xf0, 0xe7, 0xdd, 0xd0, 0x64);


    but when i try to use it I get the error "Undefined Symbol _PROGRAMID" and i dont know what i'm doing wrong.... any suggestions? i have no idea what that underscore is added about

  2. #2
    Registered User
    Join Date
    Jun 2002
    Posts
    151
    You need to include the header in which the macro defined. Try something like -

    #include "guiddef.h"

Popular pages Recent additions subscribe to a feed