Re: [python-win32] COM server with events and multiple threads

2005-06-03 Thread David Janssens
Thanks for the hints, I will try to modify the sample now to make it work using inter thread marshalling. But isn't it possible to have all the threads in the python COM server run in a single MTA? Instead of having several worker threads in several STA's in the python COM server with marshalli

Re: [python-win32] COM server with events and multiple threads

2005-05-20 Thread David Janssens
ion or does not support expected interface". Does anyone know how to debug this problem, ie how to find out what the "expected interface" is? I tried to look into the VB6 "Err" object, but I couldn't find more details. Thanks, David Janssens Mark Hammond wrote: >>I

Re: [python-win32] COM server with events and multiple threads

2005-05-19 Thread David Janssens
h to use a VB6 GUI with a python COM server backend. If I can get it working, I would like to submit a sample that shows how to do it, because I think it could be useful to many people. Thanks for your help, David Janssens The events are sent to the GUI as follows: (This is based on a sample I

[python-win32] COM server with events and multiple threads

2005-05-17 Thread David Janssens
a python COM server that generates events and has multiple threads. Thanks, David Janssens Here is the test code I use for the python COM server: import sys import pythoncom import win32com.server import win32com.server.connect from win32com.server.exception import COMException import winerror