From 6e05bfee48c12fcbe2a4533b47d56a58c91c3424 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sun, 29 Sep 2013 07:20:54 +0000 Subject: no need load dll when lib linked old code about chat.dll removed from tabsrmm git-svn-id: http://svn.miranda-ng.org/main/trunk@6266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/dumper.cpp | 2 -- plugins/CrashDumper/src/exhndlr.cpp | 7 ------- plugins/CrashDumper/src/utils.h | 1 - 3 files changed, 10 deletions(-) (limited to 'plugins/CrashDumper/src') diff --git a/plugins/CrashDumper/src/dumper.cpp b/plugins/CrashDumper/src/dumper.cpp index 6aebac5e05..f05f828c16 100644 --- a/plugins/CrashDumper/src/dumper.cpp +++ b/plugins/CrashDumper/src/dumper.cpp @@ -569,8 +569,6 @@ void PrintVersionInfo(bkstring& buffer, unsigned flags) } __except(EXCEPTION_EXECUTE_HANDLER) {} } - - if (flags & (VI_FLAG_PRNVAR | VI_FLAG_PRNDLL)) UnloadDbgHlp(); } diff --git a/plugins/CrashDumper/src/exhndlr.cpp b/plugins/CrashDumper/src/exhndlr.cpp index 305172a7c8..e014885112 100644 --- a/plugins/CrashDumper/src/exhndlr.cpp +++ b/plugins/CrashDumper/src/exhndlr.cpp @@ -22,11 +22,6 @@ void RemoveExceptionHandler(void) exchndlrv = NULL; } -void UnloadDbgHlp(void) -{ - __FUnloadDelayLoadedDLL2("dbghelp.dll"); -} - int myDebugFilter(unsigned int code, PEXCEPTION_POINTERS ep) { if (code == VcppException(ERROR_SEVERITY_ERROR, ERROR_MOD_NOT_FOUND) || @@ -113,8 +108,6 @@ void myfilterWorker(PEXCEPTION_POINTERS exc_ptr, bool notify) bool empty1 = GetFileSize(hDumpFile, NULL) == 0; CloseHandle(hDumpFile); if (empty1) DeleteFile(path); - - UnloadDbgHlp(); } LONG WINAPI myfilter(PEXCEPTION_POINTERS exc_ptr) diff --git a/plugins/CrashDumper/src/utils.h b/plugins/CrashDumper/src/utils.h index 50ac39470f..d736b42d9b 100644 --- a/plugins/CrashDumper/src/utils.h +++ b/plugins/CrashDumper/src/utils.h @@ -102,7 +102,6 @@ extern TCHAR VersionInfoFolder[MAX_PATH]; void WriteBBFile(bkstring& buffer, bool hdr); void WriteUtfFile(HANDLE hDumpFile, char* bufu); -void UnloadDbgHlp(void); LONG WINAPI myfilter(PEXCEPTION_POINTERS exc_ptr); LONG WINAPI myfilterv(PEXCEPTION_POINTERS exc_ptr); -- cgit v1.2.3