Linking an MFC Extension DLL in release mode
Posted on 2002-07-10
I have been working on this problem for many days. The DLL will link in debug mode, but not in release mode.
mfcs42.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in PIMMPDllCtl.obj
mfcs42.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in PIMMPDllCtl.obj
I can find no extraneous linkings to other modules which have a 'main' entry point either... This DLL links to an image library (static), and to the MFC libraries (shared).
Since I have just begun using the experts exchange today, I do not have many points to offer for this question, but I offer them all to you...