Problems debugging

Problems debugging

Anonymous
Not applicable
580 Views
4 Replies
Message 1 of 5

Problems debugging

Anonymous
Not applicable
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!
0 Likes
581 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
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:[email protected]...
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!
0 Likes
Message 3 of 5

Anonymous
Not applicable
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
0 Likes
Message 4 of 5

Anonymous
Not applicable

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:[email protected]...
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
0 Likes
Message 5 of 5

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

"Paul Richardson" wrote in message
news:[email protected]...

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:[email protected]...
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
0 Likes