_pr_hInstance = NULL;
BOOL APIENTRY DllMain(  HINSTANCE hModule,                         DWORD reason,                         LPVOID lpReserved ){    switch( reason ) {        case DLL_PROCESS_ATTACH:            nsToolkit::Startup(hModule);            _pr_hInstance = hModule;            break;        case DLL_THREAD_ATTACH:            break;            case DLL_THREAD_DETACH:            break;            case DLL_PROCESS_DETACH:            nsToolkit::Shutdown();            _pr_hInstance = NULL;            break;    }    return TRUE;}