|
OpenLexocad
27.0
|
#include <LibraryLoader.h>
Public Member Functions | |
| LibraryLoader () | |
| LibraryLoader (const wchar_t *fileName) | |
| LibraryLoader (HMODULE h) | |
| LibraryLoader (LibraryLoader &&ll) | |
| LibraryLoader & | operator= (LibraryLoader &&ll) |
| ~LibraryLoader () | |
| LibraryLoader (const LibraryLoader &)=delete | |
| LibraryLoader & | operator= (const LibraryLoader &)=delete |
| bool | valid () const |
| bool | load (const wchar_t *filename) |
| void | free () |
| template<typename T > | |
| T | resolve (const char *funcName) |
Public Attributes | |
| HMODULE | handle |
Library loader can safely load DLL and provides safe unload in destructor. Calling of FreeLibrary is important during application tear-down, otherwise there is risk of crash. The class is header-only.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
delete |
|
inline |
|
inline |
| HMODULE Core::LibraryLoader::handle |