Where can I locate the lib for function "HidD_GetHidGuid()"

Trips

Well-known member
Joined
Aug 7, 2010
Messages
2,788
Hi,

I am a new to develop USB interface projects. I downloaded a WIN DDK, and installed it, and verified it. I set the include file path as "C:WINDDK3790.1830incwxp". It seems success for this setting. However, I can not locate the lib path in the folder of WINDDK. The build result is:

1>------ Build started: Project: GetByUSB, Configuration: Debug Win32 ------
1>Linking...
1>MyUsb.obj : error LNK2019: unresolved external symbol "void __stdcall HidD_GetHidGuid(struct _GUID *)" (?HidD_GetHidGuid@@YGXPAU_GUID@@@Z) referenced in function "public: void __thiscall CMyUsb::InitUsb(void)" (?InitUsb@CMyUsb@@QAEXXZ)
1>C:Documents and SettingsfangmingMy DocumentsVisual Studio 2005ProjectsGetByUSBDebugGetByUSB.exe : fatal error LNK1120: 1 unresolved externals
1>Build log was saved at "file://c:Documents and SettingsfangmingMy DocumentsVisual Studio 2005ProjectsGetByUSBGetByUSBDebugBuildLog.htm"
1>GetByUSB - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Could you tell me how to set lib path? Thank you.


View the full article
 
Back
Top