B
b.alex
Hi,
I'm trying to create a .Net application with a Visio drawing control on a
WinForm. I create the minimum application: a WinForm with the drawing control
on it, and no code using it. When I run the application and exit, I get a
LoaderLock MDA error.
I've Googled this problem and come up with nothing helpful. Some people who
have run into this have been advised to turn off the LoaderLock warning in
their debugger, but that just hides the problem: the app still doesn't
terminate under the debugger.
If I run outside of the debugger, the process does terminate, though there's
no way to tell if it did so gracefully. And even if it did, ignoring the
error is not as good as solving it.
So, has anyone solved the LoaderLock error? It seems to me that everyone
embedding Visio in .NET must've encountered it.
Thank you,
Bob Alexander
I'm trying to create a .Net application with a Visio drawing control on a
WinForm. I create the minimum application: a WinForm with the drawing control
on it, and no code using it. When I run the application and exit, I get a
LoaderLock MDA error.
I've Googled this problem and come up with nothing helpful. Some people who
have run into this have been advised to turn off the LoaderLock warning in
their debugger, but that just hides the problem: the app still doesn't
terminate under the debugger.
If I run outside of the debugger, the process does terminate, though there's
no way to tell if it did so gracefully. And even if it did, ignoring the
error is not as good as solving it.
So, has anyone solved the LoaderLock error? It seems to me that everyone
embedding Visio in .NET must've encountered it.
Thank you,
Bob Alexander