I wrote a .NET control written in C#. This C# .NET control references a C# DLL. The control has a whole bunch of radio buttons, text boxes, etc. When I am debugging the control and I try to enter text into one of my text boxes, as soon as I try to enter a letter, I get a LoaderLock error from the MDA. Here's the error message:
"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."
I have no code associated with any of the the text box's events.
The weired thing is that this code used to work fine, and I haven't really changed anything about it.