Connecting to AutoCAD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a .NET app that I have created to run inside of AutoCAD. It runs inside of AutoCAD and has been tested on both AutoCAD 2010 and 2012. I have also built a standalone applicaiton that is intended to start AutoCAD and netload the in process dll. I have a computer that has 2010 installed and if I compile the application on this machine everything works as it should. If I then run the same standalone application on a computer that only has 2012 installed it doesn't connect. It starts AutoCAD (acad.exe shows up in the task manager) but it can't connect to it. I then tested the opposite scenario. Built the standalone application on a computer that only has 2012 installed and it works with AutoCAD 2012. I then ran that applicaiton on the computer with only AutoCAD 2010 installed and it can't connect. Just like before, acad.exe is started but it doesn't connect and instead gives an error.
Obviously this would make supporting different versions of AutoCAD require a different executables for the standalone application which seems wrong. I have created a applicaiton that communicates with Inventor and this problem did not occur. Thus, I had assumed it wouldn't be an issue with AutoCAD. Am I doing something wrong that is preventing the different versions from working? Any help would be greatly appreciated.