C
Chris Pomerantz
Hi,
I'm using the Visio Drawing Control embedded in a Windows Forms Application
in VS 2005 and when I close my application I get an MDA error saying
something about a LoaderLock. Any idea how to make this go away?
Here's the exact 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 get the same result if I just create a simple application with a Form and
the control embedded in it.
Thanks,
Chris
I'm using the Visio Drawing Control embedded in a Windows Forms Application
in VS 2005 and when I close my application I get an MDA error saying
something about a LoaderLock. Any idea how to make this go away?
Here's the exact 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 get the same result if I just create a simple application with a Form and
the control embedded in it.
Thanks,
Chris