NextPrevUpTopContentsIndex

com-object-initialize

Generic Function
Summary

Called when a COM object gets its first interface pointer.

Package

com

Signature

com-object-initialize object

Arguments

object

A COM object.

Method
Signatures

com-object-initialize ( object standard-i-unknown)

Description

The generic function com-object-initialize is called by the built-in class standard-i-unknown at the point where the first COM interface pointer is made for the object. Prior to this, the object is known only to Lisp and is not involved in any COM operations. The built-in primary method specializing on standard-i-unknown does nothing.

This function should not be called directly by user code.

Examples
(defmethod com-object-initialize :after
                                 ((my-doc doc-impl))
  (ensure-open-document-file my-doc))
See also

com-object-destructor
standard-i-unknown


LispWorks COM/Automation User Guide and Reference Manual - 17 Jul 2006

NextPrevUpTopContentsIndex