Object Exporting (Cont.) // fetch the CORBA object that was bound to our // implementation object. CORBA::Object_var hello_world; try { hello_world = root_poa->id_to_reference (hello_world_oid.in()); } catch (CORBA::SystemException exception) { cerr << "PortableServer::POA::id_to_reference"; return -1; } // Get the IOR of the CORBA object. CORBA::String_var hello_world_ior; try { hello_world_ior = orb->object_to_string (hello_world.in()); } catch (CORBA::SystemException exception) { cerr << "CORBA::ORB::object_to_string"; return -1; }