全部博文(18)
分类: WINDOWS
2010-08-24 11:44:17
出现错误:
xxx.obj : error LNK2001: unresolved external symbol _GUID_DEVINTERFACE_XXX
解决方法:
1. 如果在预编译头文件中定义,在定义GUID前加上头文件initguid.h
#include "initguid.h"
DEFINE_GUID(GUID_DEVICE ............
2.如果不是在预编译头中定义,需要在包含头文件OBJBASE.H之前,
#define INITGUID
#include "objbase.h"
chinaunix网友2010-08-26 14:27:10
Download More than 1000 free IT eBooks: http://free-ebooks.appspot.com
chinaunix网友2010-08-25 23:24:42
Nike Air Max 2009 nike air max 2010 womens air max 2010 womens air max 2009 People with MBT Shoes