static wxDllType GetProgramHandle();
// return the platform standard DLL extension (with leading dot)
- static const wxString& GetDllExt() { return ms_dllext; }
+ static wxString GetDllExt(wxDynamicLibraryCategory cat = wxDL_LIBRARY);
wxDynamicLibrary() : m_handle(0) { }
wxDynamicLibrary(const wxString& libname, int flags = wxDL_DEFAULT)
// the returned handle reference count is not incremented so it doesn't
// need to be freed using FreeLibrary() but it also means that it can
// become invalid if the DLL is unloaded
- static WXHMODULE MSWGetModuleHandle(const char *name, void *addr);
+ static WXHMODULE MSWGetModuleHandle(const wxString& name, void *addr);
#endif // __WINDOWS__
protected:
#endif // wxHAVE_DYNLIB_ERROR
- // platform specific shared lib suffix.
- static const wxString ms_dllext;
-
// the handle to DLL or NULL
wxDllType m_handle;