#include <DynLibrary.h>
Public Member Functions | |
DynLibrary (const std::string &name) throw (SysError) | |
loads a dynamic library | |
~DynLibrary () | |
destructor, free any allocated resource | |
FARPROC | getProcAddress (const std::string &name) const throw (SysError) |
returns a pointer to a function of the library | |
Private Attributes | |
HMODULE | hModule |
the library handle |
This class loads a dynamic library (.dll under windows) at runtime
|
loads a dynamic library
|
|
destructor, free any allocated resource
|
|
returns a pointer to a function of the library
|
|
the library handle
|