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:

[HKEY_LOCAL_MACHINESOFTWAREMicrosoft.NETFramework]

aggiungendo il valore stringa:

MDA = 0
Share

Leave a Reply

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