Hunszab, I have moved your question to its own thread, please start a new thread for each new question that you have.

Registered forum members do not see this ad.
Hi!
I'm using Vs2008 Win7. I've made a dll class library, everything is working, just when I debug I have add from Autocad I load the dll (netload command), some warning window pops up in the deb_ugger and warns me some outside system calls or whatever...
"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 to click circa 7-10 time to continue, which is a lil' bit tiresome
I've enabled in VS the 'Enable just my Code'.
Could somebody help me to fix this problem?
Thanks any help!
Hunszab, I have moved your question to its own thread, please start a new thread for each new question that you have.
Life doesn't suck, although we all go through periods when it may be easier to think that, than to discern the solution to whatever problem is the most formidable
at the moment in one's personal UCS.
Go to PLAN view instead. - Dadgad

Registered forum members do not see this ad.
I've found the solution.
The problem can be solved in the same way though, by switching off the MDA:
Debug -> Exceptions -> Managed Debug Assistants
and unchecking the LoaderLock item.
Bookmarks