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
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
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
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