Python, ADO, VC++ 6
Mark Hammond
mhammond at my-deja.com
Sun Jan 7 22:32:03 EST 2001
In article <R%966.323$l71.150865 at news.pacbell.net>,
"Keith Farmer" <farmerk at pacbell.net> wrote:
> I've been attempting to create a Python module in C++ which uses ADO
to
> perform calculations against a database.
You should be able to use the COM extensions to use ADO.
> >>> AstroMath.countRows("workqueue")
> 12 [this is correct]
> >>> AstroMath.countRows("workqueue")
> [promptly crashes with a memory reference error]
A quick glance doesn't offer any ideas. Where exactly does the program
crash? You have MSVC, so should be able to get a debuggable version of
your module.
Mark.
Sent via Deja.com
http://www.deja.com/
More information about the Python-list
mailing list