#endif // OS
// defined in windows.h
+// This breaks app.cpp if RICHEDIT is included.
+#if 0
#ifdef LoadLibrary
# undef LoadLibrary
#endif
+#endif
// ----------------------------------------------------------------------------
// wxDllLoader
@return A handle to the loaded DLL. Use success parameter to test if it is valid.
*/
static wxDllType LoadLibrary(const wxString & libname, bool *success);
+ /** This function unloads the shared library. */
+ static void UnloadLibrary(wxDllType dll);
+ /** This function returns a valid handle for the main program
+ itself. */
+ static wxDllType GetProgramHandle(void);
/** This function resolves a symbol in a loaded DLL, such as a
variable or function name.
@param dllHandle Handle of the DLL, as returned by LoadDll().