I am trying to compile a console application so that it will work on more than just my computer. When it is compiled using MFC in a shared DLL, it compiles and runs without errors. But when I switch it to use MFC in a static library I get two errors: 1 - error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in libcpmt.lib(newop.obj) and 2 - error LNK1169: one or more multiply defined symbols found. Where are these things comeing from when I switch to use MFC in a static library? And how do I fix it?
-Bones
-Bones