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

List of all members.

Public Member Functions

 FXDLL ()
 FXDLL (void *h)
 FXDLL (const FXDLL &org)
FXString name () const
void * handle () const
FXbool loaded () const
FXbool load (const FXString &nm)
void unload ()
void * address (const FXchar *sym) const
void * address (const FXString &sym) const

Static Public Member Functions

static FXString symbol (void *addr)
static FXString name (void *addr)
static FXDLL dll (void *addr)
static FXDLL dll ()
static FXString error ()


Detailed Description

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

Constructor & Destructor Documentation

FX::FXDLL::FXDLL (  )  [inline]

Construct with no handle.

FX::FXDLL::FXDLL ( void *  h  )  [inline]

Construct with existing handle.

FX::FXDLL::FXDLL ( const FXDLL org  )  [inline]

Construct copy from original.


Member Function Documentation

FXString FX::FXDLL::name (  )  const

Return the name of the library module.

void* FX::FXDLL::handle (  )  const [inline]

Return library module handle.

FXbool FX::FXDLL::loaded (  )  const [inline]

True if library was loaded.

References NULL.

FXbool FX::FXDLL::load ( const FXString nm  ) 

Load the library module from the name.

void FX::FXDLL::unload (  ) 

Unload the library module.

void* FX::FXDLL::address ( const FXchar sym  )  const

Return the address of the symbol in this library module.

void* FX::FXDLL::address ( const FXString sym  )  const

static FXString FX::FXDLL::symbol ( void *  addr  )  [static]

Return the symbol name of the given address.

static FXString FX::FXDLL::name ( void *  addr  )  [static]

Return the name of the library module containing the address.

static FXDLL FX::FXDLL::dll ( void *  addr  )  [static]

Find DLL containing symbol.

static FXDLL FX::FXDLL::dll (  )  [static]

Find DLL of ourselves.

static FXString FX::FXDLL::error (  )  [static]

Return error message if error occurred loading the library module.

Copyright © 1997-2009 Jeroen van der Zijp