summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-29 07:20:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-29 07:20:54 +0000
commit6e05bfee48c12fcbe2a4533b47d56a58c91c3424 (patch)
treee43496309f789d9aa4edc72fb33b71203f6dcb52 /plugins/CrashDumper/src
parent4288888f3d2e05dddcd953e891e97b98bf008b55 (diff)
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
Diffstat (limited to 'plugins/CrashDumper/src')
-rw-r--r--plugins/CrashDumper/src/dumper.cpp2
-rw-r--r--plugins/CrashDumper/src/exhndlr.cpp7
-rw-r--r--plugins/CrashDumper/src/utils.h1
3 files changed, 0 insertions, 10 deletions
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);