SALOME_NamingService &NS = *SINGLETON_<SALOME_NamingService>::Instance();
ASSERT( SINGLETON_<SALOME_NamingService>::IsAlreadyExisting() );
NS.init_orb( orb );
- CORBA::Object_var obj = NS.Resolve( "/myStudy" );
+ CORBA::Object_var obj = NS.Resolve( "/Study" );
SALOMEDS::Study_var study = SALOMEDS::Study::_narrow( obj );
if ( !CORBA::is_nil( study ) ) {
MESSAGE( "/myStudy is found" );
// counted objects, they will be deleted by the POA when they are no
// longer needed.
-// ClientFactory::createStudyManager(_orb,_root_poa); NB!!!
+ ClientFactory::createStudy(_orb,_root_poa);
}
catch(CORBA::SystemException&) {
INFOS( "Caught CORBA::SystemException." );