[pywin32-bugs] [ pywin32-Bugs-2014292 ] ADODBAPI error
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-06-05 23:20:49
|
Bugs item #2014292, was opened at 2008-07-09 09:51 Message generated for change (Settings changed) made by kf7xm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2014292&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Adam Vandenberg (adamvan) Assigned to: Vernon Cole (kf7xm) Summary: ADODBAPI error Initial Comment: CoInitialize needs to be called before creating an ADO connection via Dispatch: Previous: Line 248: conn=Dispatch('ADODB.Connection') if win32: pythoncom.CoInitialize() #v2.1 Paj Suggested: if win32: pythoncom.CoInitialize() conn=Dispatch('ADODB.Connection') ---------------------------------------------------------------------- Comment By: Vernon Cole (kf7xm) Date: 2008-08-06 11:30 Message: Logged In: YES user_id=855661 Originator: NO Perfect Timing. This bug (and patch) submitted just before the resulting error appeared on my system. Suggested fix works great! Thank you, Adam. -- Change applied to CVS ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2014292&group_id=78018 |