I now how work with sqlite guys

my problem: in  const char *  and i wont wchar_t*. becouse wchar_t* -
unicode type understand

 int sqlite3_exec(
  sqlite3*,                     /* An open database */
  const char *sql,              /* SQL to be executed */
  sqlite3_callback,             /* Callback function */
  void *,                       /* 1st argument to callback function */
  char **errmsg                 /* Error msg written here */
);

   sqlite3 *db;
    char *zErrMsg = 0;
    int rc;
        rc = sqlite3_open("c:\\test.db", &db);
    
        rc = sqlite3_exec(db, "Select * from table ", callback, 0, &zErrMsg);

this code return char I want use wchar_t* for read unicode.

Thanks!

-- 
View this message in context: 
http://old.nabble.com/SQLite-%2B-unicode-tp32235242p32240215.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

Reply via email to