Author Topic: vla-getinterfaceobject error: Automation Error. Problem in loading application.  (Read 2011 times)

0 Members and 1 Guest are viewing this topic.

jpucilow

  • Guest
This code fragment runs as expected in AutoCAD 2009 with Raster Design 2009 on one XP PC. It fails in AutoCAD 2012 with Raster Design 2012 on another XP PC:

(vla-getinterfaceobject (vlax-get-acad-object) "CADOverlay.AecImageObjectList")
; error: Automation Error. Problem in loading application

It appears the string "CADOverlay.AecImageObjectList" is not valid for 2012. I don't see CADOverlay.* entries in the registry of the 2012 pc like I see on the 2009 pc. What's my string for 2012?


matinau

  • Guest
did anyone get find a solution? I'm having the same difficulty:

(vlax-invoke-method (vlax-get-acad-object) 'GetInterfaceObject "CADOverlay.AecImageObjectList")

doesn't work in 2012 /13 or 14 ?

The COM reference CADOverlay definitely exists, I checked in VS but still no joy?