#include <dll.h>
|
typedef void(* | voidfunc_t) (void) |
|
|
typedef void * | LIB_HANDLE |
|
|
virtual bool | dll_init (const std::string &_name) |
| calls when its time to construct a dll, true on success
|
|
virtual void | dll_close (void) |
| calls when a dll is being removed
|
|
void | check_error (void) |
| fills dm_lasterror
|
|
| object (void) |
|
| object (bool neverusecounter) |
|
|
LIB_HANDLE | dm_handle |
|
bool | dm_open |
|
const char * | dm_lasterror |
|
a Dynamic Link Library
- Author
- Aleksander Demko
◆ get_error()
const char* scopira::tool::dll::get_error |
( |
void |
| ) |
const |
|
inline |
◆ get_sym()
void* scopira::tool::dll::get_sym |
( |
const std::string & |
_name | ) |
const |
gets a symbol from the dll
- Parameters
-
_name | the name of the symbol |
- Returns
- the symbol's address
- Author
- Aleksander Demko
◆ load_dll()
bool scopira::tool::dll::load_dll |
( |
std::string |
_name | ) |
|
loads a dll, unloading any current one
- Parameters
-
_name | the filename of the dll |
- Returns
- true on success
- Author
- Aleksander Demko
The documentation for this class was generated from the following file: