• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2316
  • Last Modified:

MDA: LoaderLock was detected

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
axnst2
Asked:
axnst2
  • 2
1 Solution
 
axnst2Author Commented:
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
 
gerrystratCommented:
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
 
axnst2Author Commented:
No prblem buddy...I'm glad I could help someone.  It took me half of a day to solve the issue (meaning reboot).
0
 
Computer101Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now