[python-win32] Handling COM events in a python thread

2008-09-05 Thread Ujjaval Suthar
Hi all, I have a COM control which fires a status event called ProcessingDataAvailable(). The COM control has a method call AddData() with some data parameters. Using python, in a simple program, I can instantiate COM object via Dispatch and call AddData() method successfully. Now, I want to

[python-win32] pythoncom question

2008-09-04 Thread Ujjaval Suthar
Hi all, I am working on a python application which is a multi-threaded application. I just want to make sure that I am doing the right thing or if not, please let me know. I have a parent thread which initalize the COM object inside a python object. This parent thread instantiates 4 other child