%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Name:        dynlib.tex
%% Purpose:     wxDynamicLibrary documentation
%% Author:      Vadim Zeitlin
%% Modified by:
%% Created:     14.01.02 (extracted from dllload.tex)
%% RCS-ID:      $Id: dynlib.tex,v 1.1.2.1 2004/05/04 08:51:56 JS Exp $
%% Copyright:   (c) Vadim Zeitlin
%% License:     wxWidgets license
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\section{\class{wxDynamicLibrary}}\label{wxdynamiclibrary}

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

\wxheading{See also}

\helpref{wxDllLoader}{wxdllloader}

\membersection{wxDynamicLibrary::wxDynamicLibrary}\label{wxdynamiclibrarywxdynamiclibrary}

\func{}{wxDynamicLibrary}{\void}

\func{}{wxDynamicLibrary}{\param{const wxString\& }{name}}

Constructor. Second form calls \helpref{Load}{wxdynamiclibraryload}.

\membersection{wxDynamicLibrary::IsLoaded}\label{wxdynamiclibraryisloaded}

\constfunc{bool}{IsLoaded}{\void}

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

\membersection{wxDynamicLibrary::Load}\label{wxdynamiclibraryload}

\func{bool}{Load}{\param{const wxString\& }{name}}

Loads DLL into memory.

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

\membersection{wxDynamicLibrary::Unload}\label{wxdynamiclibraryunload}

\func{void}{Unload}{\void}

Unloads the library from memory.

\membersection{wxDynamicLibrary::GetSymbol}\label{wxdynamiclibrarygetsymbol}

\constfunc{void*}{GetSymbol}{\param{const wxString\& }{name}}

Returns pointer to symbol {\it name} in the library or NULL if the library
contains no such symbol.


