sqlite and gtk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm writing a simple application, and it use sqlite. Sometime I use:
gint linhas, colunas;gchar *erro;gchar **resultTable;
if(sqlite3_get_table(db, "SELECT user FROM pnt_user;", &resultTable,&linhas, &colunas, &erro) != SQLITE_OK){    exit(0);}
g_print("\nValue: %s",resultTable);
---------
This is showed on terminal:
Value: `��	���	U[`{U[`{I^C
But every time this routine is called, a different thing is showed..but never what is in the table.
Can anyone help me?
-- Abraço,Frederico Schardong,SOLIS - O lado livre da tecnologiawww.solis.coop.br_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux