COM and Threads

hg hg at nospam.com
Fri Oct 13 06:06:59 CEST 2006


Teja wrote:
> hg wrote:
> 
>> Teja wrote:
>>> I have an application which uses COM 's Dispatch to create a COM based
>>> object. Now I need to upgrade the application to a threaded one. But
>>> its giving an error that COM and threads wont go together. Specifically
>>> its an attribute error at the point where COM object is invoked. Any
>>> pointers please??????
>>>
>> If COM is not thread safe, then use processes
> 
> Thanks a LOT for your reply...... Can u please tell me how to
> processes......
> 

I gather pywin32 gives you the trick to do it (CreateProcess ?) as I
gather "fork"ing is not available under Windows.




More information about the Python-list mailing list