Re: [mico-devel] MICO cryptic problem

2013-10-12 Thread Karel Gardas
On 10/12/13 04:48 PM, andr...@eed.usv.ro wrote: > Hi Karel > Thank you kindly for the fast reply. > > CORBA::Object_var nsobj = orb->resolve_initial_references("NameService"); > // after this line, variable nsobj is not NULL. > > CosNaming::NamingContext_var nc=CosNaming::NamingContext::_narrow(ns

Re: [mico-devel] MICO cryptic problem

2013-10-12 Thread Karel Gardas
Hi Andrei, yes, your nc variable is null. After any _narrow, you shall test if (CORBA::is_nil()) to see if narrow failed or not. May I suggest you have a look into demo/services/naming? The demo also provides Win32 makefile so it should be compilable and serve as a nice reference point for yo

[mico-devel] MICO cryptic problem

2013-10-12 Thread andreis
Hi, my name is Smolenic Andrei and I am a Phd student at the Stefan cel Mare University of Suceava, Romania. I've reached a point in my research where I need to compare some CORBA implementations. I've chosen TAO and MICO. First I've created a TAO based client-server distributed application and all