.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"'LoaderLock' has detected a problem" when debugging with Map 2006

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
1381 Views, 2 Replies

"'LoaderLock' has detected a problem" when debugging with Map 2006

I create a new AutoCAD Managed C# project, with all default setting.
Build an starts to debug.
I got about a dozen of warnings saying:

Managed Debugging Assistant 'LoaderLock' has detected a problem in
'C:\Program Files\Autodesk Map 3D 2006\acad.exe'.
Additional Information: DLL 'C:\Program Files\Autodesk Map 3D
2006\FdoConfigUi.dll' is 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.

What's this?
Is it Map2006 that does something nasty.
I can't remember seeing this in my previuous attempts.

/Matt
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Go to VS menu Debug->Exceptions..., Expand "Managed Debuggung Assistants"
node, uncheck "Thrown" column for item "LoaderLock". Doing so means "I know
my debugging could cause Acad hanging. Do not warn me again, thanks."


"Matt" wrote in message
news:5516225@discussion.autodesk.com...
I create a new AutoCAD Managed C# project, with all default setting.
Build an starts to debug.
I got about a dozen of warnings saying:

Managed Debugging Assistant 'LoaderLock' has detected a problem in
'C:\Program Files\Autodesk Map 3D 2006\acad.exe'.
Additional Information: DLL 'C:\Program Files\Autodesk Map 3D
2006\FdoConfigUi.dll' is 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.

What's this?
Is it Map2006 that does something nasty.
I can't remember seeing this in my previuous attempts.

/Matt
Message 3 of 3
Anonymous
in reply to: Anonymous

Yepp. That fixed it.
Thanks

/Matt


"Norman Yuan" wrote in message
news:5516492@discussion.autodesk.com...
Go to VS menu Debug->Exceptions..., Expand "Managed Debuggung Assistants"
node, uncheck "Thrown" column for item "LoaderLock". Doing so means "I know
my debugging could cause Acad hanging. Do not warn me again, thanks."


"Matt" wrote in message
news:5516225@discussion.autodesk.com...
I create a new AutoCAD Managed C# project, with all default setting.
Build an starts to debug.
I got about a dozen of warnings saying:

Managed Debugging Assistant 'LoaderLock' has detected a problem in
'C:\Program Files\Autodesk Map 3D 2006\acad.exe'.
Additional Information: DLL 'C:\Program Files\Autodesk Map 3D
2006\FdoConfigUi.dll' is 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.

What's this?
Is it Map2006 that does something nasty.
I can't remember seeing this in my previuous attempts.

/Matt

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost