when i Offen use this code i see error "library routine out of sequence".I understand that swears on a second appeal to the already open as BD.No then make additional requests to fetch?
wchar_t * IconDB::SQLGetConfigValue(char *Key) { CString s; wchar_t * result; char tmp[255]; CppSQLite3Query q; try { strcpy(tmp,"SELECT Value FROM Config WHERE Key = \""); strcat(tmp, Key); strcat(tmp, "\""); CppSQLite3Query q = base.execQuery( tmp ); // <<<<<<<<<<<<<<< Error >>>>>>>>>>>>>>>>>> result = utf8_to_unicode(q.getStringField( 0 )); q.finalize(); } catch(char *str){ MessageBoxA(0,str,"SQLGetConfigValue",0); } return result; } -- View this message in context: http://old.nabble.com/error%3Alibrary-routine-out-of-sequence-tp32365078p32365078.html Sent from the SQLite mailing list archive at Nabble.com. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users