Hello, I'm sorry but even after looking in the archives I haven't found any help on this subject : I'm testing a very simple C program that uses SQLite. The sqlite3_open method works fine and the database opens normaly, but then I get an error coming from the sqlite3_exec method : sqlite3_exec(db, "select * from tbl1" , callback, 0, &zErrMsg) The error is : SQL error: unsupported file format. The same SQL query works fine on the same database file with the command-line sqlite3 program.
What am I missing here ? Thank you for your help...