⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hid_recv.vcl

📁 一个对通用HID设备进行操作的例子,在WinXP平台下运行.
💻 VCL
字号:
<html>
<body>
<pre>
<h1>Build Log</h1>
<h3>
--------------------Configuration: HID_RECV - Win32 (WCE emulator) Debug--------------------
</h3>
<h3>Command Lines</h3>
Creating command line "rc.exe /l 0x409 /fo"emulatorDbg/HID_RECV.res" /d UNDER_CE=400 /d _WIN32_WCE=400 /d "UNICODE" /d "_UNICODE" /d "DEBUG" /d "WCE_PLATFORM_STANDARDSDK" /d "_X86_" /d "x86" /d "_i386_" /d "_AFXDLL" /r "E:\WorkFiles\燃气程序\配套工具\无线远传USBRF\HID\WinCE\HID_RECV\HID_RECV.rc"" 
Creating temporary file "C:\DOCUME~1\jvcj\LOCALS~1\Temp\RSPC7.tmp" with contents
[
/nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=400 /D _WIN32_WCE=400 /D "WCE_PLATFORM_STANDARDSDK" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /D "_AFXDLL" /Fp"emulatorDbg/HID_RECV.pch" /Yu"stdafx.h" /Fo"emulatorDbg/" /Fd"emulatorDbg/" /Gs8192 /GF /c 
"E:\WorkFiles\燃气程序\配套工具\无线远传USBRF\HID\WinCE\HID_RECV\HID_RECV.cpp"
"E:\WorkFiles\燃气程序\配套工具\无线远传USBRF\HID\WinCE\HID_RECV\HID_RECVDlg.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\jvcj\LOCALS~1\Temp\RSPC7.tmp" 
Creating temporary file "C:\DOCUME~1\jvcj\LOCALS~1\Temp\RSPC8.tmp" with contents
[
/nologo /W3 /Zi /Od /D "DEBUG" /D "_i386_" /D UNDER_CE=400 /D _WIN32_WCE=400 /D "WCE_PLATFORM_STANDARDSDK" /D "UNICODE" /D "_UNICODE" /D "_X86_" /D "x86" /D "_WIN32_WCE_CEPC" /D "_AFXDLL" /Fp"emulatorDbg/HID_RECV.pch" /Yc"stdafx.h" /Fo"emulatorDbg/" /Fd"emulatorDbg/" /Gs8192 /GF /c 
"E:\WorkFiles\燃气程序\配套工具\无线远传USBRF\HID\WinCE\HID_RECV\StdAfx.cpp"
]
Creating command line "cl.exe @C:\DOCUME~1\jvcj\LOCALS~1\Temp\RSPC8.tmp" 
Creating temporary file "C:\DOCUME~1\jvcj\LOCALS~1\Temp\RSPC9.tmp" with contents
[
/nologo /base:"0x00010000" /stack:0x10000,0x1000 /entry:"wWinMainCRTStartup" /incremental:yes /pdb:"emulatorDbg/HID_RECV.pdb" /debug /out:"emulatorDbg/HID_RECV.exe" /subsystem:windowsce,4.00 /MACHINE:IX86 
".\emulatorDbg\HID_RECV.obj"
".\emulatorDbg\HID_RECVDlg.obj"
".\emulatorDbg\StdAfx.obj"
".\emulatorDbg\HID_RECV.res"
]
Creating command line "link.exe @C:\DOCUME~1\jvcj\LOCALS~1\Temp\RSPC9.tmp"
<h3>Output Window</h3>
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
HID_RECV.cpp
HID_RECVDlg.cpp
Generating Code...
Linking...
HID_RECVDlg.obj : error LNK2019: unresolved external symbol __imp__SetupDiDestroyDeviceInfoList referenced in function "void __cdecl OnLink(void)" (?OnLink@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol "unsigned char __cdecl HidD_GetAttributes(void *,struct _HIDD_ATTRIBUTES *)" (?HidD_GetAttributes@@YAEPAXPAU_HIDD_ATTRIBUTES@@@Z) referenced in function "void __cdecl OnLink(void)" (?OnLink@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol __imp__SetupDiGetDeviceInterfaceDetailW referenced in function "void __cdecl OnLink(void)" (?OnLink@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol __imp__SetupDiEnumDeviceInterfaces referenced in function "void __cdecl OnLink(void)" (?OnLink@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol __imp__SetupDiGetClassDevsW referenced in function "void __cdecl OnLink(void)" (?OnLink@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol "void __cdecl HidD_GetHidGuid(struct _GUID *)" (?HidD_GetHidGuid@@YAXPAU_GUID@@@Z) referenced in function "void __cdecl OnLink(void)" (?OnLink@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol "long __cdecl HidP_GetCaps(struct _HIDP_PREPARSED_DATA *,struct _HIDP_CAPS *)" (?HidP_GetCaps@@YAJPAU_HIDP_PREPARSED_DATA@@PAU_HIDP_CAPS@@@Z) referenced in function "void __cdecl RecvThreadFunction(void *)" (?RecvThreadFunction@@YAXPAX@Z)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol "unsigned char __cdecl HidD_GetPreparsedData(void *,struct _HIDP_PREPARSED_DATA * *)" (?HidD_GetPreparsedData@@YAEPAXPAPAU_HIDP_PREPARSED_DATA@@@Z) referenced in function "void __cdecl RecvThreadFunction(void *)" (?RecvThreadFunction@@YAXPAX@Z)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol "unsigned char __cdecl HidD_GetProductString(void *,void *,unsigned long)" (?HidD_GetProductString@@YAEPAX0K@Z) referenced in function "void __cdecl OnGetString(void)" (?OnGetString@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol "unsigned char __cdecl HidD_GetManufacturerString(void *,void *,unsigned long)" (?HidD_GetManufacturerString@@YAEPAX0K@Z) referenced in function "void __cdecl OnGetString(void)" (?OnGetString@@YAXXZ)
HID_RECVDlg.obj : error LNK2019: unresolved external symbol "long __cdecl HidP_SetUsages(enum _HIDP_REPORT_TYPE,unsigned short,unsigned short,unsigned short *,unsigned long *,struct _HIDP_PREPARSED_DATA *,char *,unsigned long)" (?HidP_SetUsages@@YAJW4_HIDP_REPORT_TYPE@@GGPAGPAKPAU_HIDP_PREPARSED_DATA@@PADK@Z) referenced in function "void __cdecl SendThreadFunction(void *)" (?SendThreadFunction@@YAXPAX@Z)
emulatorDbg/HID_RECV.exe : fatal error LNK1120: 11 unresolved externals
Error executing link.exe.



<h3>Results</h3>
HID_RECV.exe - 12 error(s), 0 warning(s)
</pre>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -