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

NextPrevUpTopContentsIndex

standard-i-dispatch

Class
Summary

A complete implementation of the i-dispatch interface.

Package

com

Superclasses

standard-i-unknown

Subclasses

standard-automation-collection
simple-i-dispatch

Description

The class standard-i-dispatch provides a complete implementation of the i-dispatch interface, based on the type information in the type library. In addition, the i-support-error-info interface is implemented to support error information. standard-i-dispatch inherits from standard-i-unknown to provide the i-unknown interface.

All classes defined with the define-automation-component and define-automation-collection macros must inherit from standard-i-dispatch somehow. These macros pass the appropriate initargs to initialize the class.

Example

Given the class definition

(define-automation-component document-impl ()
    ()
  (:coclass document)
  )

then

(typep (make-instance 'document-impl)
       'standard-i-dispatch)
=> t
See also

define-automation-component
define-automation-collection
standard-i-connection-point-container
standard-i-unknown
i-dispatch


LispWorks COM/Automation User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex