// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// Module : SALOME
// $Header$
-using namespace std;
-using namespace std;
# include "Utils_ORB_INIT.hxx"
# include "RegistryConnexion.hxx"
# include "SALOME_NamingService.hxx"
{
# include <stdio.h>
}
+using namespace std;
Registry::Components_var Connexion( int argc , char **argv , const char *ptrSessionName ) throw( CommException )
_VarComponents->remove( _Id ) ;
}
_Id = 0 ;
+#ifndef WNT
delete [] _Ior;
+#else
+ delete [] (char*) _Ior;
+#endif
_Ior = 0;
_SessionName = "";
_Name = "" ;
infos.pid = lesInfos.pid() ;
infos.machine = CORBA::string_dup( lesInfos.host_char() ) ;
infos.adip = CORBA::string_dup( lesInfos.adip() ) ;
- infos.uid = lesInfos.uid() ;
+ infos.uid = (long)lesInfos.uid() ;
infos.pwname = CORBA::string_dup( lesInfos.pwname() ) ;
infos.tc_start = lesInfos.start() ;
infos.tc_hello = 0 ;