NextPrevUpTopContentsIndex

1.8.3 Class factories

The LispWorks COM runtime provides an implementation of the class factory protocol, which will construct COM objects on demand. The class factory implementation supports aggregation when passed an outer unknown pointer.

Class factories are described by objects created with make-factory-entry and must be registered with the COM runtime using register-class-factory-entry. The function start-factories should be called when the application initializes to start all the registered class factories.

When using the Automation API described in Using Automation and Automation Reference Entries, class factories are created and registered automatically by the define-automation-component macro if appropriate.


LispWorks COM/Automation User Guide and Reference Manual - 21 Feb 2008

NextPrevUpTopContentsIndex