Menu

#14 Documentation: writing extensions

open
nobody
com (8)
5
2003-10-03
2003-10-03
No

I am missing a point in the documentation.

I would like to write an extension function in C for
Python on Windows. This function will hold a *IDispatch
pointer and would like to return it to Python. That is, it
has to create a Dispatch object with it (dynamic or
static). I do not see how.

Practically, my intent is to embed Python into an
application. Embedded scripts should be able to access
the database through ADO. I would like to pass the
ADO connection object to Python.

Please consider to make this point clearer in the
documentation and/or to provide an easy method to
create a wrapper given a *IDispatch.

Thanks a lot.

Gael Fraiteur

Discussion


Log in to post a comment.