From 4ba2fd611622ac3cd8680ed48d3fb3412bea282a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 21 Sep 2012 12:40:53 +0000 Subject: how not to load CrashDumper twice fixes ticket:39 git-svn-id: http://svn.miranda-ng.org/main/trunk@1621 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/exhndlr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/CrashDumper') diff --git a/plugins/CrashDumper/src/exhndlr.cpp b/plugins/CrashDumper/src/exhndlr.cpp index 93406efaa8..45b87f1a54 100644 --- a/plugins/CrashDumper/src/exhndlr.cpp +++ b/plugins/CrashDumper/src/exhndlr.cpp @@ -13,9 +13,9 @@ tRtlCaptureContext pRtlCaptureContext = (tRtlCaptureContext)GetProcAddress(hKern void SetExceptionHandler(void) { - // if (pAddVectoredExceptionHandler && !exchndlrv) - // exchndlrv = pAddVectoredExceptionHandler(0, myfilterv); - /*exchndlr = */ SetUnhandledExceptionFilter(myfilter); + if (pAddVectoredExceptionHandler && !exchndlrv) + exchndlrv = pAddVectoredExceptionHandler(0, myfilterv); + exchndlr = SetUnhandledExceptionFilter(myfilter); } void RemoveExceptionHandler(void) -- cgit v1.2.3