>> [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 I think you can do this: <code> import threading import pythoncom if threading.currentThread ().getName () <> 'MainThread': pythoncom.CoInitialize () </code> TJG _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32