![]() |
libfilezilla
|
Encapsulates a DLL. More...
#include <dll.hpp>
Public Member Functions | |
| dll (wchar_t const *name, DWORD flags) | |
| Open the specified library with the passed in flags. | |
| ~dll () | |
| Closes the library and frees related resources. | |
| dll (dll const &)=delete | |
| dll & | operator= (dll const &)=delete |
| dll (dll &&d) | |
| dll & | operator= (dll &&d) |
| operator bool () const | |
| void * | operator[] (char const *name) |
| Retrieves the address of an exported symbol in the library. More... | |
Static Public Member Functions | |
| template<typename T > | |
| static dll | from_address (T const &t) |
Encapsulates a DLL.
The DLL is loaded up on construction and freed on destruction.
|
inline |
Retrieves the address of an exported symbol in the library.
Cast the address to the proper type with reinterpret_cast
1.8.10