Initialize the COM library in the current thread.
com
co-initialize &optional co-init
co-init⇩ |
Flags to specify the concurrency model and initialization options for the thread. |
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
.
LispWorks takes care of cleaning up COM when a thread exits, but you can also do this explicitly using co-uninitialize.
(co-initialize)
COM/Automation User Guide and Reference Manual - 01 Dec 2021 19:38:38