Changeset 30bfe74 in nscp for NSCPlugin.cpp
- Timestamp:
- 11/12/07 20:26:00 (6 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2, stable
- Children:
- 5782414
- Parents:
- eceb8c7
- File:
-
- 1 edited
-
NSCPlugin.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
NSCPlugin.cpp
rdc65e35 r30bfe74 21 21 #include "stdafx.h" 22 22 #include "NSClient++.h" 23 #include <error.hpp> 23 24 /** 24 25 * Default c-tor … … 63 64 hModule_ = LoadLibrary(file_.c_str()); 64 65 if (!hModule_) 65 throw NSPluginException(file_, "Could not load library: " , GetLastError());66 throw NSPluginException(file_, "Could not load library: " + error::lookup::last_error()); 66 67 loadRemoteProcs_(); 67 68 if (!fLoadModule) … … 115 116 hModule_ = LoadLibrary(file_.c_str()); 116 117 if (!hModule_) 117 throw NSPluginException(file_, "Could not load library: " , GetLastError());118 throw NSPluginException(file_, "Could not load library: " + error::lookup::last_error()); 118 119 loadRemoteProcs_(); 119 120 bLoaded_ = true;
Note: See TracChangeset
for help on using the changeset viewer.








