Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FX::FXDLL Class Reference

Wrap library module handle to allow various operations on libraries to be performed. More...

#include <FXDLL.h>

Inheritance diagram for FX::FXDLL:
FX::FXAUTODLL

Public Member Functions

 FXDLL ()
 Construct with no handle.
 
 FXDLL (void *h)
 Construct with existing handle.
 
 FXDLL (const FXDLL &org)
 Construct copy from original.
 
FXString name () const
 Return the name of the library module.
 
void * handle () const
 Return library module handle.
 
FXbool loaded () const
 True if library was loaded.
 
FXbool load (const FXString &nm)
 Load the library module from the name.
 
void unload ()
 Unload the library module.
 
void * address (const FXchar *sym) const
 Return the address of the symbol in this library module.
 
void * address (const FXString &sym) const
 

Static Public Member Functions

static FXString symbol (void *addr)
 Return the symbol name of the given address.
 
static FXString name (void *addr)
 Return the name of the library module containing the address.
 
static FXDLL dll (void *addr)
 Find DLL containing symbol.
 
static FXDLL dll ()
 Find DLL of ourselves.
 
static FXString error ()
 Return error message if error occurred loading the library module.
 

Detailed Description

Wrap library module handle to allow various operations on libraries to be performed.


The documentation for this class was generated from the following file:

Copyright © 1997-2022 Jeroen van der Zijp