|
HID设备类的相关函数不知道要包含什么头文件?
--------------------Configuration: USBPort - Win32 Debug--------------------
Compiling resources...
Compiling...
USBPortDlg.cpp
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(185) : error C2065: 'HidD_GetHidGuid' : undeclared identifier
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(264) : error C2065: 'HIDD_ATTRIBUTES' : undeclared identifier
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(264) : error C2146: syntax error : missing ';' before identifier 'strtAttrib'
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(264) : error C2065: 'strtAttrib' : undeclared identifier
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(268) : error C2065: 'HidD_GetAttributes' : undeclared identifier
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(280) : error C2228: left of '.VendorID' must have class/struct/union type
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(284) : error C2228: left of '.ProductID' must have class/struct/union type
E:\MYVC++PRJ\USBPort\USBPortDlg.cpp(288) : error C2228: left of '.VersionNumber' must have class/struct/union type
Error executing cl.exe.
USBPort.exe - 8 error(s), 0 warning(s)
|
|