this class to load a library and don't worry about unloading it -- it will be
done in the objects destructor automatically.
-% deprecated now...
-%
-%\wxheading{See also}
-%
-%\helpref{wxDllLoader}{wxdllloader}
-
\wxheading{Derived from}
No base class.
<wx/dynlib.h>
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
(only available if \texttt{wxUSE\_DYNLIB\_CLASS} is set to $1$)
\latexignore{\rtfignore{\wxheading{Members}}}
\membersection{wxDynamicLibrary::CanonicalizeName}\label{wxdynamiclibrarycanonicalizename}
-\func{wxString}{CanonicalizeName}{\param{const wxString\& }{name}, \param{wxDynamicLibraryCategory}{ cat = wxDL\_LIBRARY}}
+\func{static wxString}{CanonicalizeName}{\param{const wxString\& }{name}, \param{wxDynamicLibraryCategory}{ cat = wxDL\_LIBRARY}}
Returns the platform-specific full name for the library called \arg{name}. E.g.
it adds a {\tt ".dll"} extension under Windows and {\tt "lib"} prefix and
\membersection{wxDynamicLibrary::CanonicalizePluginName}\label{wxdynamiclibrarycanonicalizepluginname}
-\func{wxString}{CanonicalizePluginName}{\param{const wxString\& }{name}, \param{wxPluginCategory}{ cat = wxDL\_PLUGIN\_GUI}}
+\func{static wxString}{CanonicalizePluginName}{\param{const wxString\& }{name}, \param{wxPluginCategory}{ cat = wxDL\_PLUGIN\_GUI}}
This function does the same thing as
\helpref{CanonicalizeName}{wxdynamiclibrarycanonicalizename} but for wxWidgets
\helpref{wxDYNLIB\_FUNCTION}{wxdynlibfunction}
+\membersection{wxDynamicLibrary::GetSymbolAorW}\label{wxdynamiclibrarygetsymbolaorw}
+
+\constfunc{void *}{GetSymbolAorW}{\param{const wxString\& }{name}}
+
+This function is available only under Windows as it is only useful when
+dynamically loading symbols from standard Windows DLLs. Such functions have
+either \texttt{'A'} (in ANSI build) or \texttt{'W'} (in Unicode, or wide
+character build) suffix if they take string parameters. Using this function you
+can use just the base name of the function and the correct suffix is appende
+automatically depending on the current build. Otherwise, this method is
+identical to \helpref{GetSymbol}{wxdynamiclibrarygetsymbol}.
+
+
\membersection{wxDynamicLibrary::GetProgramHandle}\label{wxdynamiclibrarygetprogramhandle}
\func{static wxDllType}{GetProgramHandle}{\void}
<wx/dynlib.h>
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
(only available if \texttt{wxUSE\_DYNLIB\_CLASS} is set to $1$)
\latexignore{\rtfignore{\wxheading{Members}}}