All Manuals > LispWorks COM/Automation User Guide and Reference Manual > 4 Automation Reference Entries

NextPrevUpTopContentsIndex

register-active-object

Function
Summary

Registers an instance of a coclass.

Signature

register-active-object interface-ptr &key clsid progid flags => token

Arguments

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.

Values

token

An integer.

Description

Registers interface-ptr in the system Running Object Table for a specific coclass that the application implements. The coclass can be specified directly by using the clsid argument or indirectly using the progid argument, 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.

See also

revoke-active-object


LispWorks COM/Automation User Guide and Reference Manual - 14 Feb 2015

NextPrevUpTopContentsIndex