Mon, 06/29/2009 - 15:36
Forums:
when i`m compiling c# sample and my own project i get :
DLL 'C:\Users\klejro\Documents\Visual Studio 2005\Projects\ocascade\ocascade\bin\Debug\OCC.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
what`s wrong ?
Mon, 06/29/2009 - 16:30
you can turn off os loader lock in VS
Debug->Exceptions->Managed debugging assistants->Loader Lock
uncheck it
Mon, 06/29/2009 - 18:35
See:
http://www.opencascade.org/org/forum/thread_9352/
http://www.opencascade.org/org/forum/thread_12788/
Pawel