unresolved external symbol __DllMainCRTStartup@12

 

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

 
解决的办法:


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

posted @ 2014-06-12 17:33  MSSC  阅读(517)  评论(0编辑  收藏  举报