33 class PluginPrivateData
56 d->mHandle = LoadLibrary(filename.data());
58 std::stringstream message;
59 message <<
"could not load " << filename
60 <<
", error code " << GetLastError();
67 FreeLibrary(
d->mHandle);
72 void *address = (
void *)GetProcAddress(
d->mHandle, symbol);
74 std::stringstream message;
75 message <<
"could not resolve " << symbol;
void load(const std::string filename)
void * resolve(const char *symbol)
This file implements the ALVAR exception class.