summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper
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
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')
-rw-r--r--plugins/CrashDumper/crshdmp_10.vcxproj4
-rw-r--r--plugins/CrashDumper/crshdmp_11.vcxproj4
-rw-r--r--plugins/CrashDumper/src/dumper.cpp2
-rw-r--r--plugins/CrashDumper/src/exhndlr.cpp7
-rw-r--r--plugins/CrashDumper/src/utils.h1
5 files changed, 0 insertions, 18 deletions
diff --git a/plugins/CrashDumper/crshdmp_10.vcxproj b/plugins/CrashDumper/crshdmp_10.vcxproj
index b51c53e053..3e1345c384 100644
--- a/plugins/CrashDumper/crshdmp_10.vcxproj
+++ b/plugins/CrashDumper/crshdmp_10.vcxproj
@@ -88,7 +88,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -123,7 +122,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -156,7 +154,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<SupportUnloadOfDelayLoadedDLL>true</SupportUnloadOfDelayLoadedDLL>
@@ -185,7 +182,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<SupportUnloadOfDelayLoadedDLL>true</SupportUnloadOfDelayLoadedDLL>
diff --git a/plugins/CrashDumper/crshdmp_11.vcxproj b/plugins/CrashDumper/crshdmp_11.vcxproj
index 36dc13f511..2f63a900a3 100644
--- a/plugins/CrashDumper/crshdmp_11.vcxproj
+++ b/plugins/CrashDumper/crshdmp_11.vcxproj
@@ -92,7 +92,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -126,7 +125,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
@@ -158,7 +156,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<SupportUnloadOfDelayLoadedDLL>true</SupportUnloadOfDelayLoadedDLL>
@@ -188,7 +185,6 @@
</ClCompile>
<Link>
<AdditionalDependencies>dbghelp.lib;version.lib;%(AdditionalDependencies)</AdditionalDependencies>
- <DelayLoadDLLs>dbghelp.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Windows</SubSystem>
<SupportUnloadOfDelayLoadedDLL>true</SupportUnloadOfDelayLoadedDLL>
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);