Sorry for post, answer was near ... just do search

2. Ixokai

From: "Ixokai" <[EMAIL PROTECTED]>
Mon, 9 Feb 2004 11:05:08 -0800


Basically, adodbapi uses COM, and COM and threads require a bit of
care,
apparently.  Your webkit thing may be using a thread to handle stuff.


import pythoncom
pythoncom.CoInitialize()
... code ...
pythoncom.CoUnitialize()


You need to call pythoncom.CoInitialize() once for each thread...
theres
something about sys.coinit_flags = 0 (or 1) that may be nessecary but I

don't know what they mean precisely :) 


--Stephen

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to