From: adam Date: Fri, 23 Apr 2010 15:57:16 +0000 (+0000) Subject: windows fix in load_component_CppImplementation X-Git-Tag: V5_1_4rc1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fba622e64e8ab6776fcc21b0da2a48e61be0924d;p=modules%2Fkernel.git windows fix in load_component_CppImplementation --- diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index 34797cd76..3f8768718 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -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 )