RE: [python-win32] COM and Threaded XML-RPC server

2004-12-13 Thread Tim Golden
[Harry Fuecks] Well just a quick response to start with. I can't tell for sure, but most probs with multithreaded apps and COM derive from not initializing the COM threading model. Have a look at this post: http://aspn.activestate.com/ASPN/Mail/Message/Python-win32/2168314 for a discussion of a

Re: [python-win32] COM and Threaded XML-RPC server

2004-12-13 Thread Harry Fuecks
Hi Tim, Works perfectly - many thanks (the Python Win32 book is due Christmas so hopefully will know things like that in future). Also using the WMI module btw (example stripped down to show the point) - many thanks for writing it - saves alot of effort. Regards, Harry On Mon, 13 Dec 2004 15:1

[python-win32] COM and Threaded XML-RPC server

2004-12-13 Thread Harry Fuecks
Hi, Wondering if someone can give me any pointers with a problem. Trying to call COM objects from inside an XML-RPC server which is using Python's threading (via SocketServer.ThreadingMixIn in the standard library). Gettings errors like; pywintypes.com_error:(-2147221020, 'Invalid syntax', None,