首页 > 代码库 > unresolved external symbol __DllMainCRTStartup@12

unresolved external symbol __DllMainCRTStartup@12

 

使用VC2010创建DLL文件,编译后提示错error LNK2001: unresolved external symbol __DllMainCRTStartup@12

 
解决的办法:


Linker->Input->Additional Dependencies:
Debug:加入 msvcrtd.lib
Release:加入 msvcrt.lib