Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Show only
|
Search instead for
Did you mean:
This page has been translated for your convenience with an automatic translation service. This is not an official translation and may contain errors and inaccurate translations. Autodesk does not warrant, either expressly or implied, the accuracy, reliability or completeness of the information translated by the machine translation service and will not be liable for damages or losses caused by the trust placed in the translation service.Translate
We do the same thing like debugging ACAD with VS2k3: Within the debug-property of VS2k5 we start external program acad.exe. Then we run our dll. AutoCAD started, loads the dll with our toolbar. We can make a break point within toolbar code, it works. But our start-program don't call up and no break is accepted.
We tried to register the MDA-flag with 0 and 1 - no result.
Who has experience with the new development environment???
We are using .NET-framework 2.0
Maybe this can help:
http://jtbworld.blogspot.com/2006/04/debug-net-dlls-in-autocad-2007.html
--
Best Regards, Jimmy Bergmark
CAD and Database Developer Manager at www.pharmadule-emtunga.com
Blog: http://jtbworld.blogspot.com
JTB FlexReport (FLEXnet / FLEXlm report tool) -
http://www.jtbworld.com/jtbflexreport
SmartPurger (Purges automatically) - http://www.jtbworld.com/smartpurger.htm
or download some freeware at http://www.jtbworld.com
More on AutoCAD 2006 and 2007
http://www.jtbworld.com/autocad2006.htm
http://www.jtbworld.com/autocad2007.htm
wrote in message news:5155209@discussion.autodesk.com...
We do the same thing like debugging ACAD with VS2k3: Within the
debug-property of VS2k5 we start external program acad.exe. Then we run our
dll. AutoCAD started, loads the dll with our toolbar. We can make a break
point within toolbar code, it works. But our start-program don't call up and
no break is accepted.
We tried to register the MDA-flag with 0 and 1 - no result.
Who has experience with the new development environment???
We are using .NET-framework 2.0
I’m new to VB.net and am trying to work my way through the 2007 object ARX labs with VS2K5 but cannot debug. AutoCAD fires up but that’s it. I’ve tried everything in the jtbworld blog previously mentioned in this topic but to no avail.
Goto References for your project and select the referenced Autocad assembly.
Goto Properties and set Copy Local to False.
Regards
Peter
wrote in message news:5709662@discussion.autodesk.com...
I'm new to VB.net and am trying to work my way through the 2007 object ARX
labs with VS2K5 but cannot debug. AutoCAD fires up but that's it. I've tried
everything in the jtbworld blog previously mentioned in this topic but to no
avail.
Thanks for the reply Peter. When you refer to 'referenced AutoCAD assembly' do you mean acdbmgd.dll and acmgd.dll? If so copy local is set to false and I've ensured they are not in the local folders from a previous attempt but still no joy.
Do you run your project in Debug mode?
Have you set acad.exe to start when you run your project or do you start
Autocad and then Attach your project to acad.exe Process?
Finally, do you netload your dll in Autocad?
Regards
Peter
wrote in message news:5709904@discussion.autodesk.com...
Thanks for the reply Peter. When you refer to 'referenced AutoCAD assembly'
do you mean acdbmgd.dll and acmgd.dll? If so copy local is set to false and
I've ensured they are not in the local folders from a previous attempt but
still no joy.
Your project must be set to start AutoCAD when
you run it in the debugger.
When you run the debugger and AutoCAD starts,
use NETLOAD to load your assembly.
If the code you're debugging is called by a
registered command, then issue the command
in AutoCAD.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5709904@discussion.autodesk.com...
Thanks for the reply Peter. When you refer to 'referenced AutoCAD assembly' do you mean acdbmgd.dll and acmgd.dll? If so copy local is set to false and I've ensured they are not in the local folders from a previous attempt but still no joy.
Many thanks, that got it. The project was set to start AutoCAD when running through the debugger. I missed the netload step and calling the command, great start I've made to programming Vb.net!?! Once again many thanks.