Py Olivier wrote:
Hello,

After compiling I'm testing the C example program provided in the quick start 
page, just to get into the C/C++ interface for SQLite.
./exprog testdb 'select * from tbl1' The database file opens normaly, but I get an error coming from the sqlite3_exec method : SQL error: unsupported file format.
As if there was a problem with the table names or query.
The same SQL query on the same database works fine with the command-line 
sqlite3 program.

What am I misunderstanding ?

Not trying to be a jerk, but please search the archives for the past week or so. This subject has been beat to death..

--
Craig Morrison
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
http://pse.2cah.com
  Controlling pseudoephedrine purchases.

http://www.mtsprofessional.com/
  A Win32 email server that works for You.

Reply via email to