The strange case of "LoaderLock was detected" with a COM add-in written in .NET
March 17, 2013Since some days ago, I was getting the following error when closing Visual Basic 6.0 from the Visual Studio debugger (I am developing a .NET-based version of MZ-Tools for the 64-bit VBA editor of Office, and VB6 will get it too): LoaderLock was detected Message: Attempting managed execution inside OS Loader lock. Do not attempt […]