Re: [gnome-db]Hi...



Hi,

Here I am again... ;-)
I tested a code like above, but I got the following error:

** CRITICAL **: file gda-connection.c: line 325 (gda_connection_new):
assertion `orb != NULL' failed.

gda_corba_get_orb returns NULL. Why??

Thank you again!

> ah, ok, the parameter to gda_connection_new is a bad design decision,
> and will be removed in the next versions. But you can do:
> 
> GdaConnection *cnc = gda_connection_new (gda_corba_get_orb ());
> 
> to fill the grid:
> 
> gulong reccount;
> GdaRecordset *recset = gda_connection_execute (cnc, "select * from
> table", &reccount);
> gnome_db_grid_set_recordset (grid, recset);
>  

-- 
Marcelo Elias Del Valle    UIN: 30595143
marceloelias iname com http://mlinuxer.cjb.net MLinuxer
The game of Evolution http://Evolution.sourceforge.net
Clube da Engenharia Elétrica http://electricengclub.sourceforge.net





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