This manual documents the LispWorks COM/Automation API, which provides a toolkit for using Microsoft COM and Automation with Common Lisp.

For details of using OLE and ActiveX controls with the CAPI, see the class capi:ole-control-pane in the LispWorks CAPI Reference Manual .

This preface contains information you need when using the rest of the this manual. It discusses the purpose of this manual, the typographical conventions used, and gives a brief description of the rest of the contents.


The manual assumes that you are familiar with:

Unless otherwise stated, examples given in this document assume that the current package has COM on its package-use-list.

Conventions used in the manual

Throughout this manual, certain typographical conventions have been adopted to aid readability.

Text which refers to Lisp forms is printed like this . Variables and values described in the reference sections are printed like this .

Entries in the reference sections are listed alphabetically and each entry is headed by the symbol name and type, followed by a number of fields providing further details. These fields consist of a subset of the following: "Summary", "Signature", "Superclasses", "Subclasses", "Slots", "Accessors", "Readers", "Compatibility Note", "Description", "Examples", and "See Also".

Entries with a long "Description" section usually have as their first field a short "Summary" providing a quick overview of the purpose of the symbol being described.

The "Signature" section provides details of the arguments taken by the functions and macros and values returned, separated by the => sign. The top level of parentheses is omitted, but parentheses used for destructuring in macros are included explicitly. Optional items in the syntax of macros are denoted using square brackets [like this] . Repeated items have an asterisk suffix like this*.

For classes, only direct sub- and superclasses are detailed in the "Subclasses" and "Superclasses" sections of each entry.

Examples show fragments of code and sometimes the results of evaluating them

Finally, the "See also" section provides a reference to other related symbols.

Please let us know if you find any mistakes in the LispWorks documentation, or if you have any suggestions for improvements.

A Description of the Contents

The manual is divided into three sections, relating to COM, Automation and tools respectively. The COM and Automation sections each contain a user guide and a reference chapter.

Using COM introduces the principles behind the LispWorks COM API and describes how to use it to call COM methods and implement COM servers.

COM Reference Entries provides a detailed description of every function, macro, variable and type in the LispWorks COM API.

Using Automation introduces the LispWorks Automation API and describes how to use it to call Automation methods and implement Automation servers.

Automation Reference Entries provides a detailed description of every function, macro, variable and type in the LispWorks Automation API.

Tools describes some tools which are available in the LispWorks IDE to help with debugging applications using COM/Automation.


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