
#include <ckdll.h>

Public Member Functions | |
| CkDll (const char *sharedLibraryName) | |
| Open this DLL and link it into this program. | |
| int | valid (void) const |
| Return true if the link-in was successful. | |
| void * | lookup (const char *symbolName) |
| Resolve this symbol in the DLL, and return its pointer. | |
| ~CkDll () | |
| Remove this DLL from the program. | |
Static Public Attributes | |
| static const char * | extension = 0 |
| Filename extension used by DLLs on this machine (e.g., ".dll" or ".so"). | |
Private Attributes | |
| void * | handle |
Definition at line 13 of file ckdll.h.
| CkDll::CkDll | ( | const char * | sharedLibraryName | ) |
| CkDll::~CkDll | ( | ) |
| int CkDll::valid | ( | void | ) | const [inline] |
| void * CkDll::lookup | ( | const char * | symbolName | ) |
Resolve this symbol in the DLL, and return its pointer.
If the symbol is a function, you can cast this to a function pointer and call it. If that symbol name is not found, returns NULL.
Definition at line 36 of file ckdll.C.
Referenced by CkCppInterpreter::lookup().

void* CkDll::handle [private] |
const char * CkDll::extension = 0 [static] |
Filename extension used by DLLs on this machine (e.g., ".dll" or ".so").
Definition at line 41 of file ckdll.h.
Referenced by CkCppInterpreter::CkCppInterpreter().
1.5.5