Thanks all !
I will receive a C book tomorrow.
I need it.
David.
James Dennett wrote:
David Hautbois wrote:
Hi
I have an odd issue.
My function :
char * get_config_value (sqlite3 * db, char * config_name) {
[...]
David Hautbois [mailto:[EMAIL PROTECTED] wrote:
>
> I found the solution :
> I replaced this line :
> configvalue = (char *) sqlite3_column_text(stmt, 0);
> by
> configvalue = g_strdup((gchar *) sqlite3_column_text(stmt, 0));
>
> and the configvalue type : gchar
>
> Now it works !!
>
> A
I found the solution :
I replaced this line :
configvalue = (char *) sqlite3_column_text(stmt, 0);
by
configvalue = g_strdup((gchar *) sqlite3_column_text(stmt, 0));
and the configvalue type : gchar
Now it works !!
A newbie error...
David.
David Hautbois wrote:
Hi
I have an odd issue.
My
David Hautbois wrote:
> Hi
> I have an odd issue.
>
>
> My function :
>
> char * get_config_value (sqlite3 * db, char * config_name) {
[...]
> configvalue = (char *) sqlite3_column_text(stmt, 0);
[...]
> return
4 matches
Mail list logo