1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3 %% Purpose: wxDynamicLibrary documentation
4 %% Author: Vadim Zeitlin
6 %% Created: 14.01.02 (extracted from dllload.tex)
8 %% Copyright: (c) Vadim Zeitlin
9 %% License: wxWindows license
10 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
12 \section{\class{wxDynamicLibrary
}}\label{wxdynamiclibrary
}
14 wxDynamicLibrary is a class representing dynamically loadable library
15 (Windows DLL, shared library under Unix etc.). It is implemented as a wrapper
16 to
\helpref{wxDllLoader
}{wxdllloader
}.
20 \helpref{wxDllLoader
}{wxdllloader
}
22 \membersection{wxDynamicLibrary::wxDynamicLibrary
}\label{wxdynamiclibrarywxdynamiclibrary
}
24 \func{}{wxDynamicLibrary
}{\void}
26 \func{}{wxDynamicLibrary
}{\param{const wxString\&
}{name
}}
28 Constructor. Second form calls
\helpref{Load
}{wxdynamiclibraryload
}.
30 \membersection{wxDynamicLibrary::IsLoaded
}\label{wxdynamiclibraryisloaded
}
32 \constfunc{bool
}{IsLoaded
}{\void}
34 Returns TRUE if the library was successfully loaded, FALSE otherwise.
36 \membersection{wxDynamicLibrary::Load
}\label{wxdynamiclibraryload
}
38 \func{bool
}{Load
}{\param{const wxString\&
}{name
}}
40 Loads DLL into memory.
42 Returns TRUE if the library was successfully loaded, FALSE otherwise.
44 \membersection{wxDynamicLibrary::Unload
}\label{wxdynamiclibraryunload
}
46 \func{void
}{Unload
}{\void}
48 Unloads the library from memory.
50 \membersection{wxDynamicLibrary::GetSymbol
}\label{wxdynamiclibrarygetsymbol
}
52 \constfunc{void*
}{GetSymbol
}{\param{const wxString\&
}{name
}}
54 Returns pointer to symbol
{\it name
} in the library or NULL if the library
55 contains no such symbol.