There doesn’t seem to be a straightforward way to get the SQLite handle from the Tcl SQL command, but it is possible.
https://github.com/flightaware/Pgtcl/blob/master/generic/pgtclSqlite.c#L838 On 10/7/17, 9:31 AM, "sqlite-users on behalf of apajabo yaro" <[email protected] on behalf of [email protected]> wrote: Hello,I am writing a C++ application that embeds TCL and for its database operations I am also embedding SQLite in it.I would like to be able to do the following: 1. Write TCL scripts for the embedded SQLite from the embedded TCL interpeter. 2. Pass an SQLite connection from the embedded TCL interpreter to C++ and use it in C++ for db operations, as well as the other way around. I would appreciate your kind suggestions.Yaro. _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

