Next Previous Up Top Contents Index

4.12 The OLE-AUTOMATION module

with-class-factory

Macro

Summary

Instantiates a <class-factory>, executes the body forms, and finally calls revoke-registration on the class factory instance in a cleanup clause.

Macro call

with-class-factory (args) 
  body 
end

Arguments

args
Initialization arguments to pass to make on <class-factory>.

body
A Dylan bodybnf.

Description

This convenience macro calls make on <class-factory>, with the given initialization keyword arguments, then executes the body forms, and finally calls revoke-registration on the class factory instance in a cleanup clause.

See Section 4.3.4 on page 174 for a description of the role of class factories in OLE Automation.


OLE, COM, ActiveX and DBMS Reference - 31 MAR 2000

Next Previous Up Top Contents Index