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.
(define-automation-component document-impl ()
()
(:coclass document)
)
(typep (make-instance 'document-impl)
'standard-i-dispatch)
=> t
define-automation-component
define-automation-collection
standard-i-connection-point-container
standard-i-unknown
i-dispatch
LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017