阅读:848回复:1
报错!
GUID hidGuid;
HidD_GetHidGuid (&hidGuid); 编译后报错! --------------------Configuration: exe - Win32 Debug-------------------- Compiling... exeDlg.cpp Linking... exeDlg.obj : error LNK2001: unresolved external symbol \"void __stdcall HidD_GetHidGuid(struct _GUID *)\" (?HidD_GetHidGuid@@YGXPAU_GUID@@@Z) Debug/exe.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. exe.exe - 2 error(s), 0 warning(s) 是否要加 #ifdef __cplusplus extern \"c\" { #endif . . . #include <wdm.h> . . . #ifdef __cplusplus } #endif 上面这些个东东是什么意思啊?不解,郁闷中。。。 :( |
|
|
沙发#
发布于:2003-01-02 09:47
要加
extern \"C\" { #include <hidsdi.h> } 就可以了 |
|
|