Home All Groups Group Topic Archive Search About

Initialization of mixed assemblies

Author
2 Apr 2007 9:35 PM
Jim
I have an old C++ application. On .Net 2.0, I can add another dll with /clr
enabled dll and it worked fine.
With .Net 3.0, once I enabled the /clr without any managed code I got R6033
error. It says "Attemp to use MSIL code from this assembly during native
code initialization. ..... It's mostly likely calling an MSIL-compiled(/clr)
function from a native constructor or from DllMain.
Again, there is no sigle line of managed code yet. I just turned or /clr
flag.
Thanks.
Jim

AddThis Social Bookmark Button