error LINK2019 unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4
来源:互联网 发布:二级域名指定端口 编辑:程序博客网 时间:2024/05/16 18:06
碰到第二个问题:
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiGetClassDevsA@16
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiGetDeviceInterfaceDetailA@24
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiEnumDeviceInterfaces@20
Release/TestCCDeath.exe : fatal error LNK1120: 4 unresolved externals
执行 link.exe 时出错.
TestCCDeath.exe - 1 error(s), 0 warning(s)
解决方法:#pragma comment(lib,"setupapi")
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiGetClassDevsA@16
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiGetDeviceInterfaceDetailA@24
OpenByInterface.obj : error LNK2001: unresolved external symbol __imp__SetupDiEnumDeviceInterfaces@20
Release/TestCCDeath.exe : fatal error LNK1120: 4 unresolved externals
执行 link.exe 时出错.
TestCCDeath.exe - 1 error(s), 0 warning(s)
解决方法:#pragma comment(lib,"setupapi")
- error LINK2019 unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4
- unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4
- error LNK2001: unresolved external symbol __imp__PathFileExistsA@4
- error LNK2001: unresolved external symbol _xGetSystemMetrics@4
- error LNK2001: unresolved external symbol @__security_check_cookie@4
- error LNK2001: unresolved external symbol __imp__PathFileExistsA@4
- error LNK2001: unresolved external symbol
- Error LNK2019: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2019: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2019: unresolved external symbol
- error LNK2019: unresolved external symbol
- error LNK2001: unresolved external symbol
- error LNK2019: unresolved external symbol
- flex bulider4.5 不能调试
- 正则表达式
- 排序算法系列:堆排序(heapsort)(C语言)
- 找工作的这些日子
- Oracle PL/SQL实战
- error LINK2019 unresolved external symbol __imp__SetupDiDestroyDeviceInfoList@4
- 人生有失有得,谁知道最后的结果……
- 牌都没有,打个毛的德州啊——App刷量那些事,懂的进
- Untiy3d动画插件
- [Linux] shell bash 脚本特殊变量 [大三TJB_708]
- 莫名其妙死机
- C++中的栈和堆
- 详喷TLD
- Python安装及编辑器UliPad安装