Discussion:
[omniORB] Crash while narrowing the refference
Sabuja...
2014-06-12 08:59:19 UTC
Permalink
Hi,

I am writing a sample application using omniORB 4.2.0 using VS2010.
I am getting a crash while narrowing the reference as below:

CORBA::Object_var ns_Obj = orb->resolve_initial_references("NameService");
CosNaming::NamingContext_ptr nc = CosNaming::NamingContext::_narrow(ns_Obj);

The crash is in the 2nd line.
Could anyone please help on this.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20140612/7c828d0a/attachment.html>
Loading...