使用wtl和 atl的dll,能不能使用mfc的dll?
如果我不设定 _AFXDLL,编译错误
fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
如果我设定_AFXDLL
出现mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in
有什么方法可以解决?