Skip to content

LoaderLoack detection

Daniel

Asked Jun 25, 2007, 7:47 AM EDT1 answer
Share
LinkedInX
Not sure where I should post this. I have just starting receiving the following error: LoaderLock was detected Message: 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. No idea what is happening. Daniel

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0
    I have also seen this error.  It usually occurs when you mix managed code and unmanaged code.  Are you coding in Visual C++?
    0