39 #include "blocxx/BLOCXX_config.h"
41 #if defined(BLOCXX_USE_DLL)
47 namespace BLOCXX_NAMESPACE
55 DLLSharedLibraryLoader::DLLSharedLibraryLoader()
57 ::SetCurrentDirectory(BLOCXX_DEFAULT_LIB_DIR);
62 DLLSharedLibraryLoader::loadSharedLibrary(
const String& filename)
const
64 if( filename.endsWith(
"libblocxx.dll") )
69 HINSTANCE libhandle = ::LoadLibrary(filename.c_str());
78 "LoadLibrary returned NULL. Error is: %1",
91 DLLSharedLibraryLoader::~DLLSharedLibraryLoader()
97 #endif // BLOCXX_USE_DLL
IntrusiveReference< SharedLibraryLoader > SharedLibraryLoaderRef
#define BLOCXX_LOG_ERROR(logger, message)
Log message to logger with the Error level.
static SharedLibraryLoaderRef createSharedLibraryLoader()
String lastErrorMsg(bool socketError)
GlobalString COMPONENT_NAME
IntrusiveReference< SharedLibrary > SharedLibraryRef
class BLOCXX_COMMON_API Logger