The strange case of "LoaderLock was detected" with a COM add-in written in .NET

March 17, 2013

Since 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 […]


MZ-Tools Articles Series: BUG: DTE.ActiveDocument.ActiveWindow does not return the active document window if toolwindow active

March 17, 2013

My first small article this year is to document this bug of Visual Studio 2005, 2008, 2010 and 2012: BUG: DTE.ActiveDocument.ActiveWindow does not return the active document window if toolwindow active http://www.mztools.com/articles/2013/MZ2013001.aspx Which I have just reported to Microsoft Connect: Document.ActiveWindow does not return always the active window https://connect.microsoft.com/VisualStudio/feedback/details/781522/document-activewindow-does-not-return-always-the-active-window and that is a variation of […]