Hi,<br>&nbsp;&nbsp;&nbsp; i have a sample application where in the &quot;int main&quot; mathod i am creating ORB by using ORB_init.<br>&nbsp;&nbsp;&nbsp; Now that variable is local to &quot;int main&quot;, i don&#39;t want to make it global, but i want to get its reference in some other method say &quot;int xyz&quot;.
<br>&nbsp;&nbsp;&nbsp; In my previous ORB they were having CORBA::ORB::_duplicate () to return reference to the global ORB. But TAO does not have _duplicate with no parameters, means we have to pass ORB reference to be duplicated.<br><br>
&nbsp;&nbsp;&nbsp; Is there any way to have this work? <br clear="all"><br>-- <br>________________________________________________________________<br>&quot;Science is a wonderful thing if one does not have to earn one&#39;s living at it.&quot; -- Einstein.
<br><br>- Vikram Karandikar