Jump to content

annoying pop-up with DLL.


Recommended Posts

Posted

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!

Posted

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

Posted

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...