CORBA::Object_ptr anObject = aNamingService.Resolve("/Kernel/Session");
SALOME::Session_var aSession = SALOME::Session::_narrow(anObject);
//aSession->GetInterface();
- //Engines::Component_var aComponent = aSession->GetComponent("libVISUEngineImpl.so");
- Engines::Component_var aComponent = aSession->GetComponent("VISUEngineImpl.dll");
+#ifndef WIN32
+ Engines::Component_var aComponent = aSession->GetComponent("libVISUEngineImpl.so");
+#else
+ Engines::Component_var aComponent = aSession->GetComponent("VISUEngineImpl.dll");
+#endif
myVisuGen = VISU::VISU_Gen::_narrow(aComponent);
}