|
I make a VC++ project to compile ethereal to a DLL, finally, I
got this error
--------------------------------------------
single-threaded and multithreaded libraries
mfcs42d.lib(dllmodul.obj) : error LNK2005: [EMAIL PROTECTED] already
defined in MSVCRTD.lib(dllmain.obj)
mfcs42d.lib(dllmodul.obj) : warning LNK4006: [EMAIL PROTECTED] already defined in MSVCRTD.lib(dllmain.obj); second definition ignored -------------------------------------------- I see the MSDN explanation
One of the following may be a cause:
whether I linking with both the single-threaded and multithreaded
libraries or DLLmain define twice?
could you tell me how to solve it?
if you need source code, I will send it to you?
Frank Li
|
