error during compiling C# sample
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 ?