]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
windows fix in load_component_CppImplementation
authoradam <adam>
Fri, 23 Apr 2010 15:57:16 +0000 (15:57 +0000)
committeradam <adam>
Fri, 23 Apr 2010 15:57:16 +0000 (15:57 +0000)
src/Container/Container_i.cxx

index 34797cd7660aa38f33f25ef328a8885d48c4df1c..3f8768718d38eb572e7e37077a29a4410f1677d2 100644 (file)
@@ -513,6 +513,10 @@ Engines_Container_i::load_component_CppImplementation(const char* componentName,
 #else
   HINSTANCE handle;
   handle = LoadLibrary( impl_name.c_str() );
+  if ( !handle )
+    {
+      reason="ImplementationNotFound";
+    }
 #endif
 
   if ( handle )