I need your help.
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi dear friends. I've ported a native (Unmanaged) C++ DLL to managed and used in .Net 2003. Now I'm going to use this ported DLL it in .Net 2005. I change the compiler option /clr to /clr:oldSyntax and compile with no error. But at run-time I get a exception when I want to use the DLL in a C# client. The error message is: MyDLL.dll is attempting managed execution inside OS loader lock. Do not attempt to run managed code inside a DLLMain... Anyone can help me?