[omniORB] question on : is_nil()

smitha smi smithatv at gmail.com
Fri Oct 26 04:55:06 BST 2012


Hello,

I have a code sequence as below

(1)

getObjectRef<dbServer, dbServer_var>(

iv_dbServRef,

FWDB_SERVER_OBJ);

=====> *iv_dbServRef *holds the object reference.

(2)

CORBA::ORB_var orb = CORBA::ORB_init(l_argc,l_argv);

orb->shutdown(true);

orb->destroy();

 (3)

is *iv_dbServRef *still holds the reference*?
*

i tried using *CORBA::is_nil( iv_dbServRef )

*this call returns* false.

 My question is , is it not suppose to return true?

 Appreciate your quick response.

Thanks,

Smitha
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20121026/feadb1dd/attachment.html>


More information about the omniORB-list mailing list