[gnome-db] Problems with GnomeDbQuery



I have the following code:

GnomeDbQuery q_proyectos;
GError error = NULL

/* I pass a valid pointer to a GnomeDbDict conf->dict */

q_proyectos = GNOME_DB_QUERY (gnome_db_query_new_from_sql (conf->dict,
"SELECT * FROM proyectos", error));

but the program stops with a segmentation violation.

I tested the same query in mergeant and it works well.

Following the error I find some points calling the sql parser.

Any idea?

-- 
Trabajar, la mejor arma para tu superación



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