Registers an instance of a coclass.
com
register-active-object interface-ptr &key clsid progid flags => token
interface-ptr⇩ |
A COM interface pointer. |
clsid⇩ |
A string or a refguid giving a CLSID to create. |
progid⇩ |
A string giving a ProgID to create. |
flags⇩ |
An integer. |
token⇩ |
An integer. |
The function register-active-object
registers interface-ptr in the system Running Object Table for a specific coclass that the application implements. The coclass can be specified directly by supplying clsid or indirectly by supplying progid, which will locate the CLSID from the registry.
flags can be an integer as specified for the Win32 API function RegisterActiveObject
. The default value of flags is 0.
The returned value token can be used with revoke-active-object to revoke the registration.
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:41