Error Info
Error LNK1169 one or more multiply defined symbols found SAMPLE C:\SAMPLE\Debug\SAMPLE.dll 1
Error LNK2005 _DllMain@12 already defined in dllmain.obj SAMPLE C:\SAMPLE\mfcs140d.lib(dllmodul.obj) 1
Solution
Project -> Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions
Remove "_USRDLL;"
'DEVELOP > C++ & MFC' 카테고리의 다른 글
Error C1189 #error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. (0) | 2018.12.18 |
---|---|
CPP(MFC) 와 CSharp 메모리 공유 (0) | 2016.12.01 |