On 11 May 2010, at 6:45pm, john cummings wrote:

> is it possible to have an executable (i.e. .exe) with connections to 2
> sqlite databases?
> 
> i've read doc and it doesn't speak to this one way or the other.

Sure.  Use sqlite_open() two times, and keep the returned values in two 
separate variables.  Make sure you use the right one for each subsequent 
operation.  When you're finished with each database, call sqlite_close() on 
that one, not the other one.

http://www.sqlite.org/c_interface.html

Note to the SQLite docos: section 3.10 of that page is entirely in bold because 
of a tag problem.

Simon.
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to