From: env Date: Mon, 29 Aug 2005 05:54:00 +0000 (+0000) Subject: ENV: Windows porting X-Git-Tag: T_3_0_2a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=67bd2212ae94cc83c9922dec64eedf87675bfacd;p=modules%2Fkernel.git ENV: Windows porting --- diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index 319616a10..3357c8fdc 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -278,7 +278,11 @@ Engines_Container_i::load_component_Library(const char* componentName) // --- try dlopen C++ component +#ifndef WNT string impl_name = string ("lib") + aCompName + string("Engine.so"); +#else + string impl_name = aCompName + string("Engine.dll"); +#endif SCRUTE(impl_name); _numInstanceMutex.lock(); // lock to be alone @@ -409,7 +413,11 @@ Engines_Container_i::create_component_instance(const char*genericRegisterName, //--- try C++ +#ifndef WNT string impl_name = string ("lib") + genericRegisterName +string("Engine.so"); +#else + string impl_name = genericRegisterName +string("Engine.dll"); +#endif void* handle = _library_map[impl_name]; if ( !handle ) {