nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in解决办法

来源:互联网 发布:网络直播的商业模式 编辑:程序博客网 时间:2024/05/21 21:44
nafxcw.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in LM_




解决办法:工程->设置->C/C++->Category:PreprocessorPreprocessor definitions:WIN32,NDEBUG,_WINDOWS,_MBCS,_USRDLL,MSGBOX_EXPORTS,_WINDLL,_AFXDLL中的_USRDLL,删除,就可以正确编译了


原创粉丝点击