--------------------Configuration: security - Win32 Release--------------------
Linking...
ingetool.obj : error LNK2001: unresolved external symbol _SCardConnectA@24
ingetool.obj : error LNK2001: unresolved external symbol _SCardEstablishContext@16
ingetool.obj : error LNK2001: unresolved external symbol _SCardReleaseContext@4
ingetool.obj : error LNK2001: unresolved external symbol _SCardDisconnect@8
ingetool.obj : error LNK2001: unresolved external symbol _SCardControl@28
Release/security.dll : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.security.dll - 6 error(s), 0 warning(s)
-------------------Configuration: security - Win32 Debug--------------------security.dll - 0 error(s), 0 warning(s)请各位老大,帮忙看看,可能问题出在什么地方?小弟新手,谢谢。给点提示!谢谢。
Linking...
ingetool.obj : error LNK2001: unresolved external symbol _SCardConnectA@24
ingetool.obj : error LNK2001: unresolved external symbol _SCardEstablishContext@16
ingetool.obj : error LNK2001: unresolved external symbol _SCardReleaseContext@4
ingetool.obj : error LNK2001: unresolved external symbol _SCardDisconnect@8
ingetool.obj : error LNK2001: unresolved external symbol _SCardControl@28
Release/security.dll : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.security.dll - 6 error(s), 0 warning(s)
-------------------Configuration: security - Win32 Debug--------------------security.dll - 0 error(s), 0 warning(s)请各位老大,帮忙看看,可能问题出在什么地方?小弟新手,谢谢。给点提示!谢谢。
1。看看你程序中是不是有下面类似语句:
#pragma comment(lib, ".\\Debug\\xx.lib")
如果有,保证在Release版本内也包含该.lib文件。
2。选择菜单"Project"--"Project Settings..."--"Link"标签,在object/libaray modules
输入框中,如果在debug版有.lib文件,把它也放到release版中该位置。