Solved

MDA: LoaderLock was detected

Posted on 2007-03-20
6
2,293 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
6 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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

707 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