34 #ifndef PTLIB_DYNALINK_H
35 #define PTLIB_DYNALINK_H
149 #include "msos/ptlib/dynalink.h"
151 #include "unix/ptlib/dynalink.h"
155 #endif // !defined(P_RTEMS)
158 #endif //PTLIB_DYNALINK_H
PBoolean GetFunction(PINDEX index, Function &func)
Get a pointer to the function in the dynamically loadable module.
PString name
Definition: dynalink.h:40
static PString GetExtension()
Get the extension used by this platform for dynamic link libraries.
virtual PBoolean IsLoaded() const
Dyna-link module is loaded and may be accessed.
void(* Function)()
Primitive pointer to a function for a dynamic link module.
Definition: dynalink.h:117
const PString & GetLastError() const
Definition: dynalink.h:141
PString m_lastError
Definition: dynalink.h:145
PDynaLink()
Create a new dyna-link, loading the specified module.
BOOL PBoolean
Definition: object.h:102
~PDynaLink()
Destroy the dyna-link, freeing the module.
The character string class.
Definition: pstring.h:108
A dynamic link library.
Definition: dynalink.h:51
virtual PString GetName(PBoolean full=false) const
Get the name of the loaded library.
virtual void Close()
Close the dyna-link library.
Ultimate parent class for all objects in the class library.
Definition: object.h:1118
virtual PBoolean Open(const PString &name)