4 ACE_TMAIN(int argc
, ACE_TCHAR
*argv
[])
8 CORBA::ORB_var orb
= CORBA::ORB_init(argc
, argv
);
10 CORBA::Object_var obj
= orb
->resolve_initial_references("RootPOA");
12 PortableServer::POA_var poa
= PortableServer::POA::_narrow(obj
.in());
14 PortableServer::POAManager_var man
= poa
->the_POAManager();
20 PortableServer::ObjectId_var objId
= poa
->activate_object(&simp
);
24 catch (const CORBA::Exception
&)
26 ACE_DEBUG ((LM_DEBUG
, "server failed to start\n"));