Next Previous Up Top Contents Index

4.12 The OLE-AUTOMATION module

OLE-initialize

Function

Summary

Ensures that the Microsoft OLE/COM libraries have been initialized.

Signature

OLE-initialize () => ()

Arguments

None.

Values

None.

Description

Ensures that the Microsoft OLE/COM libraries have been initialized. Controller applications should call this function before attempting to connect to a server. The function should be used in each thread that will be performing COM/OLE operations (not just once for the whole process). This function returns no values.

Though it does no harm to call this function more than once, you must balance each call to this function by a matching call to the function OLE-uninitialize.


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

Next Previous Up Top Contents Index