> What I have tried:
>
> - Use DispatchEx instead of Dispatch: this works with other COM
> servers, like MS Word and Excel, but not with mine. Probalby has to do
> with the fact that they are local servers, whereas mine is inproc.
>
> - CoInitialize, CoInitializeEx with flags: no luck
>
> - using C
Hello Thomas,
Thanks for your quick reply. I do not marshal anything because I don't
need to pass objects between threads, each thread currently only deals
with its own objects. I have also tried using a surrogate process to
host the dll server (dllhost.exe) through the registry, but although
the
Kostas Eleftheriou schrieb:
> Hi,
>
> I have built a python application that uses a COM server from multiple
> threads, and despite some initial problems, I got it to work. I found
> out (the hard way) that the COM server would have undefined behaviour
> if some of its functions were called at the