编译时出现两个连接错误:
htmlhelp.lib(init.obj):error LNK2001:unresolved external symbol_security_cookie.htmlhelp.lib(init.obj):error LNK2001:unresolved external symbol@_security_check_cookie@p.在tool->option里把htmlhelp.lib的头文件和库文件的设置删除,clean整个工程,重新编译还是出现这个错误。 请问这是怎么回事呢?
htmlhelp.lib(init.obj):error LNK2001:unresolved external symbol_security_cookie.htmlhelp.lib(init.obj):error LNK2001:unresolved external symbol@_security_check_cookie@p.在tool->option里把htmlhelp.lib的头文件和库文件的设置删除,clean整个工程,重新编译还是出现这个错误。 请问这是怎么回事呢?
To set this compiler option in the Visual Studio development environment Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
Click the C/C++ folder.
Click the Code Generation property page.
Modify the Buffer Security Check property. 这是microsoft's RTC and security check functions. you can close these functions by parameter of cl.exe 在工程的编译环境中添加/Gs,即Ok
htmlhelp.lib
复制一份放到主工程名称/.LIB下面