--------------------Configuration: IDCardReadTest - Win32 Debug--------------------
Linking...
IDCardReadTestDlg.obj : error LNK2001: unresolved external symbol __imp__OpenConnection@4
IDCardReadTestDlg.obj : error LNK2001: unresolved external symbol __imp__CloseConnection@4
Debug/IDCardReadTest.exe : fatal error LNK1120: 2 unresolved externals
执行 link.exe 时出错.
IDCardReadTest.exe - 1 error(s), 0 warning(s)
由于初学C++MFC程序,编译时出现这个错误请问怎么解决?
在网上看的引入头文件,添加lib也不行project->setting->link页面中object/library modules:中添加: ws2_32.lib