make-factory-entry &key
clsid
implementation-name
constructor-function
constructor-extra-args
friendly-name
prog-id
version-independent-prog-id
The CLSID of the coclass.
A Lisp symbol naming the implementation class.
A function to construct the object. If
nil
, the default constructor is used which makes an instance of the
implementation-name
and queries it for a
i-unknown
interface pointer. The default constructor also handles
aggregation
.
Extra arguments to pass to the constructor-function .
The name of the coclass for use by application builders.
The ProgID of the coclass.
Makes an object to contain all the information for class factory registration in the COM runtime. This object should be passed to
register-class-factory-entry
to perform the registration. This done automatically if you use
define-automation-component
described in the Using Automation.
(make-factory-entry
:clsid (make-guid-from-string
"7D9EB762-E4E5-11D5-BF02-000347024BE1")
:implementation-name 'doc-impl
:prog-id "Wordifier.Document.1"
:version-independent-prog-id "Wordifier.Document"
:friendly-name "Wordifier Document")