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