I have an ATL project and I need to add a pop up dialog to it using MFC, when I add the MFC libraries in the project properties, the system throws a linking error:
Error 5 error LNK2005: _DllMain@12 already defined in TestDLL.obj uafxcwd.lib
Error 6 fatal error LNK1169: one or more multiply defined symbols found
I've looked up the Error on MS but the solution makes no sence!!
Can anyone help? I'm using VS2005 if that makes a difference.