Hi All If I do this std::string ss= "PRAGMA main.user_version"; sqlite3_stmt* stmt; const char *tail; sqlite3_prepare_v2 (vMdb, ss.c_str (), ss.size (), &stmt, &tail); alls well step and retrieve user version
However when I do this std::wstring ws= L"PRAGMA main.user_version"; sqlite3_stmt* stmt; const void*tail; sqlite3_prepare16_v2 (vMdb, ws.c_str (), ws.size (), &stmt, &tail); syntax error near '.' Tried this std::string ss= "SELECT data FROM tble"; prepare_v2 Alls well. step and retrieve data Change that to wstring prepare16_v2 no such column 'dat' Was using 3.6.20 Down loaded 3.7.15.1 Same problem What to do Walter _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users