mfcs80ud.lib(dllmodul.obj) : error LNK2005: __pRawDllMain already defined in DllMain.obj
mfcs80ud.lib(dllmodul.obj) : error LNK2005: _DllMain@12 already defined in DllMain.obj
The project options are
MFC extension DLL
/clr option (except the source file with my DllMain implementation)
UNICODE character set
MFC extension DLL project with /clr option causes link error on _DllMain
I get link errors

MFC extension DLL project with /clr option causes link error on _DllMain
thedigitalpioneer
Bloody Beginner
Thanks,
Nikola
Kusuma
The build type is Debug. Release works fine.
yonis
I've been written a bug report.
Thanks for your help.
AKOUL
Is this VS2003 or VS2005
Thanks,
Nikola Dudar
VC++ Team
cfd33
david22
Thanks,
Nikola
Adel Hazzah
and after building a couple of times started getting the following error:
Error 2 error LNK2005: _DllMain@12 already defined in MSVCRTD.lib(dllmain.obj) mfcs80ud.lib
Which seems related to earlier in this thread as a bug in beta. However, I don't think I have the beta code set. I am on:
Version 8.0.50727.42 (RTM.050727-4200)
Please advise.
annefa
Is there a workaround for those of us who don't have
or can't use (I'm using WPF) a post Beta 2 Build
Cheers