Hi All,
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 !
-------------------------------------------------------------------------------------
sqlite3 *db;
sqlite3_stmt *statement;
wxString TMPstring;
if( sqlite3_open( "Test3.db", &db) )
{ TMPstring << "Failed opening databse file:\n" <<
sqlite3_errmsg(db);
wxMessageBox( TMPstring );
sqlite3_close(db);
return;
}
if( sqlite3_close( db ) != SQLITE_OK );
{ wxMessageBox( wxString("Database can not be closed
properly !\n\n") << sqlite3_errmsg( db ) );
return( -1 );
}
-----------------------------------------------------------------
Thanx for your help,
John
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users