Solved

MDA: LoaderLock was detected

Posted on 2007-03-20
6
2,291 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
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 synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

739 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