January 2000
Intermediate to advanced
672 pages
21h 46m
English
CoInitializeEx( )
Initializes COM for the calling thread.
CoIntializeEx(flags)
flags
An integer defining the initialization options. May include:
pythoncom.COINIT_APARTMENTTHREADED
Initializes the thread for apartment-threaded object concurrency.
pythoncom.COINIT_MULTITHREADED
Initializes the thread for multithreaded object concurrency.
pythoncom.COINIT_DISABLE_OLE1DDE
Disables DDE for OLE1 support.
pythoncom.COINIT_SPEED_OVER_MEMORY
Trades memory for speed.
There’s no need to call this function for the Python thread
that first imports the pythoncom module. Please
see Appendix D, for a detailed description of COM
threading models.
Read now
Unlock full access