## wxDynamicLibrary

wxDynamicLibrary is a class representing dynamically loadable library (Windows DLL, shared library under Unix etc.). It is implemented as a wrapper to wxDllLoader.

See also

wxDllLoader

wxDynamicLibrary::wxDynamicLibrary
wxDynamicLibrary::IsLoaded
wxDynamicLibrary::Load
wxDynamicLibrary::Unload
wxDynamicLibrary::GetSymbol

### wxDynamicLibrary::wxDynamicLibrary

wxDynamicLibrary()

wxDynamicLibrary(const wxString& name)

Constructor. Second form calls Load.

### wxDynamicLibrary::IsLoaded

bool IsLoaded() const

Returns TRUE if the library was successfully loaded, FALSE otherwise.

### wxDynamicLibrary::Load

bool Load(const wxString& name)

Loads DLL into memory.

Returns TRUE if the library was successfully loaded, FALSE otherwise.

### wxDynamicLibrary::Unload

void Unload()

Unloads the library from memory.

### wxDynamicLibrary::GetSymbol

void* GetSymbol(const wxString& name) const

Returns pointer to symbol name in the library or NULL if the library contains no such symbol.