comparison Plugins/Engine/SharedLibrary.cpp @ 887:4066e6f2d134 plugins

PluginsManager
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 14 Jun 2014 19:20:38 +0200
parents 0570a8c859cb
children f57802f8b4dc
comparison
equal deleted inserted replaced
886:29087d728e0a 887:4066e6f2d134
44 44
45 #include <glog/logging.h> 45 #include <glog/logging.h>
46 46
47 namespace Orthanc 47 namespace Orthanc
48 { 48 {
49 SharedLibrary::SharedLibrary(const std::string& path) : handle_(NULL) 49 SharedLibrary::SharedLibrary(const std::string& path) :
50 path_(path),
51 handle_(NULL)
50 { 52 {
51 #if defined(_WIN32) 53 #if defined(_WIN32)
52 handle_ = ::LoadLibraryA(path.c_str()); 54 handle_ = ::LoadLibraryA(path.c_str());
53 if (handle == NULL) 55 if (handle == NULL)
54 { 56 {