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

Problems debugging

4 REPLIES 4
Reply
Message 1 of 5
storreal
219 Views, 4 Replies

Problems debugging

I just installed Visual Studio 2005 professional edition and AutoCAD 2007 with ObjectARX 2007. After building my C# code successfully, I start the debugging process. AutoCAD 2007 launches and I netload to my .dll. Everything is fine so far but when I call on to the commands inside the dll. AutoCAD can't seem to find them. The problem doesn't appear if I don't debug.
What is the problem?
Thanks in advance for your help!
4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: storreal

The problem is that AutoCAD is demand-loading
acmgd.dll.

To solve it, you have several options. The one
I use is to set the CopyLocal property of the
reference to acmgd.dll to false (do not copy).

I prefer this one also because I don't like having
copies of acmgd.dll and acdbmgd.dll in every
project folder.

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com

wrote in message news:5252335@discussion.autodesk.com...
I just installed Visual Studio 2005 professional edition and AutoCAD 2007 with ObjectARX 2007. After building my C# code successfully, I start the debugging process. AutoCAD 2007 launches and I netload to my .dll. Everything is fine so far but when I call on to the commands inside the dll. AutoCAD can't seem to find them. The problem doesn't appear if I don't debug.
What is the problem?
Thanks in advance for your help!
Message 3 of 5
storreal
in reply to: storreal

Thanks! I appreciate your help.
Is there a permanent way to do it or do you need to do it for every project you want to debug?
Thanks again

Sebastian
Message 4 of 5
Anonymous
in reply to: storreal


you want to debug?

HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.0\ACAD-5001:409\Applications\AcMgd
double click 'LOADCTRLS' and change 'Value data:' from 'e' from 'c'.

wrote in message news:5252364@discussion.autodesk.com...
Thanks! I appreciate your help.
Is there a permanent way to do it or do you need to do it for every project
you want to debug?
Thanks again

Sebastian
Message 5 of 5
Anonymous
in reply to: storreal

oops... should have been (to 'c')
double click 'LOADCTRLS' and change 'Value data:' from 'e' to 'c'.

"Paul Richardson" wrote in message
news:5252387@discussion.autodesk.com...

you want to debug?

HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.0\ACAD-5001:409\Applications\AcMgd
double click 'LOADCTRLS' and change 'Value data:' from 'e' from 'c'.

wrote in message news:5252364@discussion.autodesk.com...
Thanks! I appreciate your help.
Is there a permanent way to do it or do you need to do it for every project
you want to debug?
Thanks again

Sebastian

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