| 36 | // Implementation |
| 37 | #ifdef WIN32 |
| 38 | bool Library::Load(const std::string &path) { |
| 39 | sourcePath = path + ".dll"; |
| 40 | handle = LoadLibrary(sourcePath.c_str()); |
| 41 | return handle != nullptr; |
| 42 | } |
| 43 | |
| 44 | void Library::Free() { |
| 45 | FreeLibrary(static_cast<HINSTANCE>(handle)); |
no outgoing calls
no test coverage detected