Re: [sqlite] Script Embedded SQLite With TCL

2017-10-13 Thread yaro
Thanks for your reply Peter da Silva. Since I want to embed TCL, my intent is to include only the TCL core code and SQLite code in my project and build them into one exec file. This way I can use SQLite in my C++ code as well as in TCL. Is this achievable? Or should I build TCL with SQLite as the

Re: [sqlite] Script Embedded SQLite With TCL

2017-10-11 Thread Peter Da Silva
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"

[sqlite] Script Embedded SQLite With TCL

2017-10-07 Thread apajabo yaro
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