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; }
~MyConstructorClass() { alureStream::Clear(); deinit_alure(); };