Re: gnome_name_service_get Gnome/GTK event loop



On Tue, 15 May 2001, Bill Haneman wrote:

> I have been trying to figure out how to (correctly ;-) use
> gnome_name_service_get.
>
> So far it seems that it's necessary to call
> gnome_CORBA_init(...) instead of gnorba_CORBA_init(...) or
> CORBA_ORB_init(...)
>
> However if I call gnome_name_service_get() the client just hangs,
> presumably because I haven't started the client-side CORBA event loop
> yet.

No, it should work fine. You don't have to start any event loop for it to
function. You need to research why it hangs (*dark deep debugging alert*).

> P.S. - on a related topic, is there a reasonably CORBA-standard way of
> bootstrapping a service if it's not running yet (supported by ORBit),
> or should I use OAF for that?

The OMG has generated things such as the trading service and INS, which
can meet this requirement.

You can use Gnorba or OAF for this purpose. I suggest OAF unless you are
tied to the gnome-libs 1.0.x platform.
-- Elliot
A fool and his money were lucky to get together in the first place.
	(WC Fields)





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