Example #1
0
extern "C" BOOL APIENTRY DllMain(HINSTANCE module, DWORD reason, LPVOID /*reserved*/)
{
    // Perform actions based on the reason for calling.
    switch(reason)
    {
    case DLL_PROCESS_ATTACH:
        DisableThreadLibraryCalls(module);
        init_alure();
        break;

    case DLL_PROCESS_DETACH:
        deinit_alure();
        break;
    }
    return TRUE;
}
Example #2
0
 ~MyConstructorClass()
 {   alureStream::Clear();
     deinit_alure();
 };