On 23 February 2010 12:51, John <mail_ch...@yahoo.fr> wrote: > Forgot to say that the error occurs at the sqlite3_close function. > > John > >> The very simple C-code below returns error message " library routine >> called out of sequence" . >> I really don't understand why ? >> >> I'm using SQLite 3.6.22 under Windows XP >> >> Any idea/suggestion would be really appreciated ! >> . . . >> Thanx for your help, >> >> John
There are 2 calls to sqlite3_close in your code snippet. If the error occurs on the first, then the open has failed, and the error on close is probably the expected result. Regards, Simon _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users