All Manuals > LispWorks COM/Automation User Guide and Reference Manual > 2 COM Reference Entries

NextPrevUpTopContentsIndex

co-initialize

Function
Summary

Initialize the COM library in the current thread.

Package

com

Signature

co-initialize &optional co-init

Arguments

co-init

Flags to specify the concurrency model and initialization options for the thread.

Description

The function co-initialize initializes COM for the current thread. This must be called by every thread that uses COM client or server functions.

The default value of co-init is COINIT_APARTMENTTHREADED. Other flags are allowed as for the dwCoInit argument to CoInitializeEx.

Examples
(co-initialize)
See also

co-uninitialize


LispWorks COM/Automation User Guide and Reference Manual - 23 Mar 2017

NextPrevUpTopContentsIndex