Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

MDA: LoaderLock was detected

Posted on 2007-03-20
6
Medium Priority
?
2,300 Views
Last Modified: 2013-12-17
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.

PLEASE HELP....

Thanks,
axnst2
0
Comment
Question by:axnst2
  • 2
4 Comments
 

Author Comment

by:axnst2
ID: 18763558
Oh...Ok...I got it..it was the well known MSA problem, meaning Microsoft Sucks A..
All I had to do was restart my computer.
Thanks you Mr. Gates...

-axnst2
0
 

Expert Comment

by:gerrystrat
ID: 18823015
Thanks.  You just saved me a lot of headaches!  I looked at this for an hour before I saw your post.  A reboot did it...
0
 

Author Comment

by:axnst2
ID: 18941481
No prblem buddy...I'm glad I could help someone.  It took me half of a day to solve the issue (meaning reboot).
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19154274
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question