|
PTLib
Version 2.18.8
|
Helper class for creating members to functions in the DLL. More...
#include <dynalink.h>
Public Member Functions | |
| EntryPoint (PDynaLink &dll, const char *name, bool compulsory=true) | |
| bool | IsPresent () const |
| operator FuncPtr () const | |
Protected Attributes | |
| FuncPtr | m_function |
Helper class for creating members to functions in the DLL.
An entry point is a function within the DLL. If compulsory is true, then if the function is not found the DLL is closed. IsLoaded() can then be used to test for success.
|
inline |
References PDynaLink::GetFunction(), and PDynaLink::EntryPoint< FuncPtr >::m_function.
|
inline |
References PDynaLink::EntryPoint< FuncPtr >::m_function.
|
inline |
References PDynaLink::EntryPoint< FuncPtr >::m_function, and PAssertNULL.
|
protected |