ASE, SQL, OLE, ADE

ASE, SQL, OLE, ADE

Reply
*Holder, Mark
Message 1 of 1 (82 Views)

Registering CAO15.DLL

82 Views, 0 Replies
01-14-2000 09:02 AM
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?

Mark Holder
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.