Re: [python-win32] Dispatch error 'CoInitialize has not been called'

2006-12-29 Thread Bob Gailer
Roger Upole wrote: > Bob Gailer wrote: > >> Tim Golden wrote: >> >>> [Bob Gailer] >>> >>> OK. I don't know whether its running in a thread. I made no changes that I'm aware of that would cause the change in behavior. I will add the call to pythoncom.CoInitialize.

Re: [python-win32] Dispatch error 'CoInitialize has not been called'

2006-12-29 Thread Bob Gailer
Tim Golden wrote: >>> [Bob Gailer] >>> >> Yeah, but when I said it was working, it was working in the server! >> Wednesday AM just fine. Wednesday afternoon suddenly not working fine. I >> swear I didn't change anything! >> >> Is there some way my program can introspect? to see if it is in

[python-win32] Re: Dispatch error 'CoInitialize has not been called'

2006-12-29 Thread Roger Upole
Bob Gailer wrote: > Tim Golden wrote: >> [Bob Gailer] >> >>> OK. I don't know whether its running in a thread. I made no >>> changes that I'm aware of that would cause the change in >>> behavior. I will add the call to pythoncom.CoInitialize. I am >>> not familiar with this method. >>> >

Re: [python-win32] Dispatch error 'CoInitialize has not been called'

2006-12-29 Thread Tim Golden
>> [Bob Gailer] > Yeah, but when I said it was working, it was working in the server! > Wednesday AM just fine. Wednesday afternoon suddenly not working fine. I > swear I didn't change anything! > > Is there some way my program can introspect? to see if it is in a thread? It's a bit clunky, but

Re: [python-win32] Dispatch error 'CoInitialize has not been called'

2006-12-29 Thread Bob Gailer
Tim Golden wrote: > [Bob Gailer] > >> OK. I don't know whether its running in a thread. I made no >> changes that I'm aware of that would cause the change in >> behavior. I will add the call to pythoncom.CoInitialize. I am >> not familiar with this method. >> > > This is one of those got

Re: [python-win32] Dispatch error 'CoInitialize has not been called'

2006-12-29 Thread Tim Golden
[Bob Gailer] > OK. I don't know whether its running in a thread. I made no > changes that I'm aware of that would cause the change in > behavior. I will add the call to pythoncom.CoInitialize. I am > not familiar with this method. This is one of those gotcha's of Win32 COM programming; you can