(FromnExtension file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > Config & Setup >


(FromnExtension file)

Previous pageReturn to chapter overviewNext page


This method is used to register an ActiveX control. When installing your software to another machine each ActiveX control that is used in your program must be registered to the users machine. There are two ways to do this. The most common is to use a proper installation package that will register the ActiveX controls for you. The other is to use this method to register the controls. It is your responsibility to ensure that you do not call this method on any ActiveX control more than once. No damage will be done, but registering ActiveX controls consumes a noticeable amount of time.


String identifying the path to the ActiveX dynamic library file.



Returns the following according to the situation:

T when successful.

Nil on failure.



;Register this ActiveX

(Odcl_RegisterActiveXCtrl MyProject_MyForm_MyControl "MyActiveX.ocx")



AutoLisp Syntax:

(Setq rValue (Odcl_RegisterActiveXCtrl sActiveXFileName [as String]))