I have written an ActiveX DLL that references CAO15.DLL. When I deploy
it to other computers (yes, that have AutoCAD 2000 installed),
GetInterfaceObject fails until someone goes into VBA in AutoCAD 2000,
and references CAO15.DLL by selecting the browse button.
Apparently, this DLL can only be registered from within an AutoCAD
session, as REGSVR32 fails. I assume this is because it requires
functions exposed by ACAD.EXE.
Is there a way to register this DLL from code in an ActiveX dll that has
been loaded into AutoCAD? In other words, when my GetInterfaceObject
call fails, how can I register the DLL without manual intervention?