Re: [gnome-db]Hi...



On 03 Jul 2001 01:18:51 -0300, Marcelo Elias Del Valle wrote:
> 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??
> 
at the beginning of your program, you should call gda_init (or
gnome_db_init if you use gnome-db libraries). If you don't do so, the
OAF/GConf/GTK stuff won't be initialized and you'll get all this kind of
errors

You can find some examples in the source code tree, in libgda/testing

cheers

--
Rodrigo Moya <rodrigo gnome-db org> - <rodrigo ximian com>
http://www.gnome-db.org/ - http://www.ximian.com/




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