#include <dynalink.h>
Inheritance diagram for PDynaLink:

DLL entry point functions | |
| typedef void(* | Function )() |
| Primitive pointer to a function for a dynamic link module. | |
| BOOL | GetFunction (PINDEX index, Function &func) |
| BOOL | GetFunction (const PString &name, Function &func) |
Load/Unload function | |
| virtual BOOL | Open (const PString &name) |
| virtual void | Close () |
| virtual BOOL | IsLoaded () const |
| virtual PString | GetName (BOOL full=FALSE) const |
| static PString | GetExtension () |
Public Member Functions | |
Construction | |
| PDynaLink () | |
| PDynaLink (const PString &name) | |
| ~PDynaLink () | |
Protected Attributes | |
| void * | dllHandle |
| PString | name |
|
|
Primitive pointer to a function for a dynamic link module.
|
|
|
Create a new dyna-link, loading the specified module. The first, parameterless, form does load a library. |
|
|
Create a new dyna-link, loading the specified module. The first, parameterless, form does load a library.
|
|
|
Destroy the dyna-link, freeing the module. |
|
|
Close the dyna-link library. |
|
|
Get the extension used by this platform for dynamic link libraries.
|
|
||||||||||||
|
Get a pointer to the function in the dynamically loadable module.
|
|
||||||||||||
|
Get a pointer to the function in the dynamically loadable module.
|
|
|
Get the name of the loaded library. If the library is not loaded this may return an empty string. If #full# is TRUE then the full pathname of the library is returned otherwise only the name part is returned.
|
|
|
Dyna-link module is loaded and may be accessed. |
|
|
|
|
|
|
|
|
|
1.4.2