I created a vb.net stand alone program. Used the following to create the CAD object:
CreateObject("Autocad.Application")
for doing some batch job.
Then I deploy it to a group of computers. It is working fine for some computers and others failed with either "actvieX can't create object" or "call rejected by callee". All computers has AutoCAD full version(Mechanical or Electrical) installed. Did any one has similar experience that can share how to fix it?
Regards!
Alex
Hi,
Usually the quickest solution is implement a interface to help Windows understand the connection. Check at:
How to: Fix 'Application is Busy' and 'Call was Rejected By Callee' Errors
http://msdn.microsoft.com/en-us/library/ms228772.aspx
Regards,
Augusto Goncalves
Autodesk Developer Network
Thanks very much for your information. That is a good help.
That is the solution for "Call rejected by callee".
How about the error "Active X can't create Object"? We have different version of AutoCAD in different machines. Range from 2008, 2010 and 2012, Mechanical, Electrical or just General. I suspect it is caused by Windows Registry. What do you think?
Regards,
Alex
See this from Kean
HomeBoy Out