New Member
1 Posts
0 Kudos
Registered: ‎07-25-2012
Post 1 of 2

Cannot debug 64-bit DLL

193 Views, 1 Replies
07-25-2012 09:45 AM

When I try to connect to even the sample code provided in the ObjectARX SDK, my AutoCAD instance hangs and must be forcibly closed. If I don't connect to it with a debugger, the sample code works just fine.


This is also happening with my specific DLL, but I wanted to see if I'd done something stupid, or if it was a system problem, so I loaded up the EllipseJig plugin that comes with the ObjectARX SDK. It locks up too.


Without being able to debug my DLL, I am unable to determine what's going on under the hood with one of my numbering schemes for objects within a drawing. It's far too complicated to walk through the code line-by-line visually. I mean, it could be done, but I'd like to be able to solve the problem sometime before next year and being able to use Visual Studio would greatly help. =)


My setup:

AutoCAD Mechanical. Version F.51.0.0

Visual Studio 2010 Professional.Version 10.0.30319.1


Any thoughts ideas about what is going wrong? I've uninstalled/reinstalled AutoCAD and VS2010 three times. I'm quite convinced that neither of these tools is currently corrupt. I'm compiling on a 64-bit machine, and using a 64-bit version of AutoCAD if that helps any.



Active Contributor
34 Posts
0 Kudos
Registered: ‎09-09-2011
Post 2 of 2

Re: Cannot debug 64-bit DLL

07-25-2012 01:20 PM in reply to: jhanel

Can you look in the Windows error logs? There may be something there that will lead to the answer.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!