]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/dynlib.tex
corrected the completely wrong example (bug 545427)
[wxWidgets.git] / docs / latex / wx / dynlib.tex
CommitLineData
f3845e88
VZ
1%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2%% Name: dynlib.tex
3%% Purpose: wxDynamicLibrary documentation
4%% Author: Vadim Zeitlin
5%% Modified by:
6%% Created: 14.01.02 (extracted from dllload.tex)
7%% RCS-ID: $Id$
8%% Copyright: (c) Vadim Zeitlin
9%% License: wxWindows license
10%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
11
12\section{\class{wxDynamicLibrary}}\label{wxdynamiclibrary}
13
14wxDynamicLibrary is a class representing dynamically loadable library
15(Windows DLL, shared library under Unix etc.). It is implemented as a wrapper
16to \helpref{wxDllLoader}{wxdllloader}.
17
18\wxheading{See also}
19
20\helpref{wxDllLoader}{wxdllloader}
21
22\membersection{wxDynamicLibrary::wxDynamicLibrary}\label{wxdynamiclibrarywxdynamiclibrary}
23
24\func{}{wxDynamicLibrary}{\void}
25
26\func{}{wxDynamicLibrary}{\param{const wxString\& }{name}}
27
28Constructor. Second form calls \helpref{Load}{wxdynamiclibraryload}.
29
30\membersection{wxDynamicLibrary::IsLoaded}\label{wxdynamiclibraryisloaded}
31
32\constfunc{bool}{IsLoaded}{\void}
33
34Returns TRUE if the library was successfully loaded, FALSE otherwise.
35
36\membersection{wxDynamicLibrary::Load}\label{wxdynamiclibraryload}
37
38\func{bool}{Load}{\param{const wxString\& }{name}}
39
40Loads DLL into memory.
41
42Returns TRUE if the library was successfully loaded, FALSE otherwise.
43
44\membersection{wxDynamicLibrary::Unload}\label{wxdynamiclibraryunload}
45
46\func{void}{Unload}{\void}
47
48Unloads the library from memory.
49
50\membersection{wxDynamicLibrary::GetSymbol}\label{wxdynamiclibrarygetsymbol}
51
52\constfunc{void*}{GetSymbol}{\param{const wxString\& }{name}}
53
54Returns pointer to symbol {\it name} in the library or NULL if the library
55contains no such symbol.
56
57