00001 #ifndef DYNLIBRARY_H 00002 #define DYNLIBRARY_H 00003 00004 #include <abuse/abuse.h> 00005 #include <abuse/SysError.h> 00007 00010 class DynLibrary 00011 { 00012 public: 00014 00019 DynLibrary(const std::string& name)throw(SysError); 00021 ~DynLibrary(); 00023 00029 FARPROC getProcAddress(const std::string& name)const throw(SysError); 00030 private: 00032 HMODULE hModule; 00033 }; 00034 00035 00036 #endif