Discussion1 Comment

  1. Kevin Rose says:

    Hi

    I am trying to use your wonderful DevIL.NET, but whenever I run my C# app in the debugger I get a:

    LoaderLock was detected
    Message: DLL ‘\bin\Debug\DevIL.NET.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.

    This is making me sad :( From reading the Microsoft docs it sounds like you might be doing bad things in your dll.

    http://msdn2.microsoft.com/en-us/library/ms172219(vs.80).aspx

    Any ideas how I can get around this?

    Thanks
    Kevin

Add a Comment