Thursday, January 6, 2011

How to avoid error "LNK2001 unresolved external" by using DEFINE_GUID

The GUID should be defined using the DEFINE_GUID macro in the guiddef.h header file.
Now the linker error can be removed by including INITGUID.H in the precompiled header file.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.