link dynamicly to functions by using GetModuleHandle() and GetProcAddress()
More...
#include <utility.h>
List of all members.
Detailed Description
template<typename FCT>
struct DynamicFct< FCT >
link dynamicly to functions by using GetModuleHandle() and GetProcAddress()
Definition at line 965 of file utility.h.
Constructor & Destructor Documentation
Definition at line 967 of file utility.h.
{
HMODULE hModule = GetModuleHandle(moduleName);
_fct = (FCT) GetProcAddress(hModule, (LPCSTR)ordinal);
}
Definition at line 974 of file utility.h.
{
HMODULE hModule = GetModuleHandle(moduleName);
_fct = (FCT) GetProcAddress(hModule, name);
}
Member Function Documentation
template<typename FCT>
DynamicFct< FCT >::operator bool |
( |
) |
const [inline] |
template<typename FCT>
FCT DynamicFct< FCT >::operator* |
( |
) |
const [inline] |
Member Data Documentation
The documentation for this struct was generated from the following file: