
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have written a handful of apps for AutoCAD which are used by a department of about 25 engineers here in Oregon.
Recently, I was asked to deploy some of the apps to a department in Santa Clara, CA. Easy; I just took our apps and changed the paths to their network share/server. I have access to their network and can test the apps. They work perfectly well for me. However, when I deploy the dll files and they attempt to run the apps they get errors of various sorts, generally either unhandled access violations or the runtime simply hangs up and stops for no apparent reason.
The fact that the apps run on my machine accessing their network indicates no typos in the paths and everything is written correctly. But something is preventing the apps from their using them on their own network.
As an example, I've attached a .txt file containing code from one of the apps; this app opens a couple of dwg files and specific layouts, creates a dsd file for publishing and publishes a multi-page dwf of those layout tabs in a specified location. When they run the app in Santa Clara, everything works up until the end where it goes to publish the dwf using the publisher.dsd file.
Is there anything I'm doing wrong in the code which would make it work for users at one site but not work for users at a distant site? Any configuration of their ACAD that I'm overlooking (they have plenty of memory and sufficiently fast processers)? What should I be looking for in troubleshooting?
Thank you for any responses.
Erik
Solved! Go to Solution.