14 #ifndef __INCLUDED_SCOPIRA_TOOL_DLL_H__ 15 #define __INCLUDED_SCOPIRA_TOOL_DLL_H__ 19 #include <scopira/tool/platform.h> 20 #include <scopira/tool/object.h> 21 #include <scopira/tool/export.h> 30 SCOPIRA_EXPORT
extern const char *
dll_ext_c;
43 typedef HINSTANCE LIB_HANDLE;
45 typedef void* LIB_HANDLE;
48 mutable LIB_HANDLE dm_handle;
50 const char * dm_lasterror;
54 typedef void (*voidfunc_t)(void);
57 SCOPIRA_EXPORT
dll(
void);
59 SCOPIRA_EXPORT
virtual ~dll();
68 SCOPIRA_EXPORT
bool load_dll(std::string _name);
77 SCOPIRA_EXPORT
void *
get_sym(
const std::string & _name)
const;
83 const char *
get_error(
void)
const {
return dm_lasterror; }
88 SCOPIRA_EXPORT
virtual bool dll_init(
const std::string & _name);
90 SCOPIRA_EXPORT
virtual void dll_close(
void);
Definition: archiveflow.h:20