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 tecnologia
www.solis.coop.br
_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list