[pywin32-bugs] COM problem
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Bielik, R. <Rob...@gy...> - 2005-06-15 13:18:59
|
I have an application where I need COM to be initalized in multithreaded = mode (i.e. CoInitializeEx(NULL, COINIT_MULTITHREADED). However, when I use PythonWin to debug/test my module, I get an error = due to the fact that PythonWin initializes COM using = COINIT_APARTMENTTHREADED. Subsequently, my module crashes Python. How do I change the startup value to be COINIT_MULTITHREADED?=20 TIA /Rob Ps. I've set the sys.coinit flag (in localserver.py) to zero (value of = COINIT_MULTITHREADED), recompiled it, but it doesn't work yet. |