hunszab Posted September 21, 2010 Posted September 21, 2010 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! Quote
Tiger Posted September 21, 2010 Posted September 21, 2010 Hunszab, I have moved your question to its own thread, please start a new thread for each new question that you have. Quote
hunszab Posted September 21, 2010 Author Posted September 21, 2010 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.