NextPrevUpTopContentsIndex

1.8.1 Steps required to implement COM interfaces

To implement a COM interface in Lisp, you need the following:

  1. Some COM interface definitions, converted to Lisp as specified in Generating FLI definitions from COM definitions
  2. A COM object class defined with the macro define-com-implementation, specifying the interface(s) to implement.
  3. Implementations of the methods using define-com-method.
  4. If the objects are to be created by another process, a description of the class factories created with make-factory-entry and registered with register-class-factory-entry.
  5. Initialization code to call co-initialize. It should also call start-factories in a thread that will be processing Windows messages (for instance a CAPI thread) if you have registered class factories.

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

NextPrevUpTopContentsIndex