Extention Dll linked to static dll
Mike -- MREAMS@cerner.com Friday, November 01, 1996 Environment: VC++ 4.0,WIN95 I have been trying to link statically linked lib/dll's into my dynamically linked Extention Dll. When I do this I wind up with the following link errors: mfcs40d.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in CPSSchedule.obj mfcs40d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in CPSSchedule.obj Does anyone know of a workaround for this problem, short of rewriting all of our statically linked lib/dll's as dynamically linked? Is there anything in a dynamic, extention dll that needs to be set to allow for this? Michael P. Reams (Mike) Cerner Corporation 2900 Rockcreek Parkway Kansas City, MO 64117-2551 (816) 472-1024 Ext. 2138 (816) 221-1024 Fax mreams@cerner.com http://www.cerner.com "To Automate the Process of Managing Health"
Eric clinidata -- nm94318@clinidata.com Monday, November 04, 1996 Hi Mike, Look at the KB article: Q148652 Eric Lamontagne elamontagne@clinidata.com ---------- From: owner-mfc-l[SMTP:owner-mfc-l@majordomo.netcom.com] Sent: Monday, November 04, 1996 10:22 To: 'MFC LIST' Subject: Extention Dll linked to static dll Environment: VC++ 4.0,WIN95 I have been trying to link statically linked lib/dll's into my dynamically linked Extention Dll. When I do this I wind up with the following link errors: mfcs40d.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in CPSSchedule.obj mfcs40d.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in CPSSchedule.obj Does anyone know of a workaround for this problem, short of rewriting all of our statically linked lib/dll's as dynamically linked? Is there anything in a dynamic, extention dll that needs to be set to allow for this? Michael P. Reams (Mike) Cerner Corporation 2900 Rockcreek Parkway Kansas City, MO 64117-2551 (816) 472-1024 Ext. 2138 (816) 221-1024 Fax mreams@cerner.com http://www.cerner.com "To Automate the Process of Managing Health"
| Вернуться в корень Архива |