win32 Release
win32 Debug我的一个程序,在win32 Debug模式下能正常运行,但在win32 Release模式下出现错误
错误提示:
Login.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __stdcall IFInitInterface(unsigned long,unsigned long,char const *)" (__imp_?IFInitInterface@@YGHKKPBD@Z)
win32 Debug我的一个程序,在win32 Debug模式下能正常运行,但在win32 Release模式下出现错误
错误提示:
Login.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) int __stdcall IFInitInterface(unsigned long,unsigned long,char const *)" (__imp_?IFInitInterface@@YGHKKPBD@Z)
解决方法:第1步:在VC集成环境下按Alt+F7,调出Project Setting.
第2步:在Setting for中选Win32 Debug,切换至Link选项卡。记录object\library Modals:里面的内容。
第3步:在Setting for中选All Configure或Win32 Release,切换Link选项卡。在object\library Modals:里面填写刚才记录的内容。
第4步:编绎。
用msdn查出相应的lib文件
然后project->link 加入这个文件
祝你顺利