.NET Geek

"It is upon the Trunk that a gentleman works" - Confucius

Browse by Tags

All Tags » ITunes (RSS)
LoaderLock was detected ???
For some time I have seen this weird error that seemed to pop up out of nowhere. When debugging a solution in Visual Studio 2005 I would occasionally get a "Loader Lock was detected. 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". I sort of ignored the error for a few days since I couldn't connect it to anything I did. Well, it only took 2 minutes on Google to...