LoaderLock was detected – Autocad 2006 e Visual Studio 2005

Avviando l'esecuzione in modalità debug di una dll creata in Visual Studio 2005 per Autocad 2006 si riceve l'errore:

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.

E' sufficiente modificare la seguente chiave del registro di Windows:


aggiungendo il valore stringa:

MDA = 0

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.