Hi,<br> i have a sample application where in the "int main" mathod i am creating ORB by using ORB_init.<br> Now that variable is local to "int main", i don't want to make it global, but i want to get its reference in some other method say "int xyz".
<br> 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>
Is there any way to have this work? <br clear="all"><br>-- <br>________________________________________________________________<br>"Science is a wonderful thing if one does not have to earn one's living at it." -- Einstein.
<br><br>- Vikram Karandikar