26 #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
28 #elif MYGUI_PLATFORM == MYGUI_PLATFORM_LINUX
51 #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
65 #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
77 #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
87 #if MYGUI_PLATFORM == MYGUI_PLATFORM_WIN32
90 FORMAT_MESSAGE_ALLOCATE_BUFFER |
91 FORMAT_MESSAGE_FROM_SYSTEM |
92 FORMAT_MESSAGE_IGNORE_INSERTS,
95 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
100 std::string ret = (
char*)lpMsgBuf;
102 LocalFree( lpMsgBuf );
105 return "no unix error function defined yet";
#define MYGUI_DYNLIB_UNLOAD(a)
void * mInstance
Handle to the loaded library.
DynLib(const std::string &name)
#define MYGUI_DYNLIB_LOAD(a)
#define MYGUI_DYNLIB_GETSYM(a, b)
std::string mName
Name of library.
#define MYGUI_LOG(level, text)
#define MYGUI_DYNLIB_HANDLE
#define MYGUI_EXCEPT(dest)
std::string dynlibError() const
Gets the last loading error.
std::string getName(void) const
Get the name of the library.
void * getSymbol(const std::string &strName) const