Hi,
for me setting the key
"MDA"="0"
seemed to work?
Juha
"Ben Rand" wrote in message
news:5045217@discussion.autodesk.com...
Thanks again for your help, Dan. The answer was in this first document you
sent me to, but it took hearing that from ADN DevHelp again to pound it
through my head--or help me understand that I was staring at the solution.
The fix was apparently to disable MDAs. This is a specific solution for
Autocad 2006/VS 2005 (because Acad 2006 was built with version 1.1 of the
.NET framework).
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"MDA"="1"Once I added this key to the registry, the error messages were
gone.
Ben
"J. Daniel Smith" wrote in message
news:5042081@discussion.autodesk.com...
See http://msdn2.microsoft.com/en-us/library/ms172219.aspx for your specific
problem and
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vcconmixeddllloadingproblem.asp
for background information.
Dan
"Ben Rand" wrote in message
news:5041866@discussion.autodesk.com...
Painfully new to .NET, working with VS 2005, Autocad 2006. Previously
working through some simple stuff in VS 2003 and the projects were working
fine. Migrated the projects to 2005 and tried to run them in Debug and I get
this error repeatedly:
Message: 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.
Things run once I get through the messages, but I don't understand what I've
apparently missed. Thanks for any help.
Ben Rand
CAD Manager
CEntry Constructors & Engineers
brand@centry.net