Revision | 84cec909667ba97688ad0ab3564ff5b45a3309a6 (tree) |
---|---|
Zeit | 2008-09-14 02:19:42 |
Autor | eru <eru01@user...> |
Commiter | eru |
SEH修正
@@ -44,9 +44,9 @@ extern int version_ex; // PP | ||
44 | 44 | #if 1 /* for VP extend version */ |
45 | 45 | //#define VERSION_EX 1 |
46 | 46 | static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only |
47 | -static const int PCP_CLIENT_VERSION_EX_NUMBER = 30; | |
48 | -static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0030)"; | |
49 | -static const char *PCX_VERSTRING_EX = "v0.1218(IM0030)"; | |
47 | +static const int PCP_CLIENT_VERSION_EX_NUMBER = 31; | |
48 | +static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0031)"; | |
49 | +static const char *PCX_VERSTRING_EX = "v0.1218(IM0031)"; | |
50 | 50 | #endif |
51 | 51 | |
52 | 52 | // ------------------------------------------------ |
@@ -15,7 +15,11 @@ void SEHdump(_EXCEPTION_POINTERS *lpExcept) | ||
15 | 15 | if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) |
16 | 16 | { |
17 | 17 | dump = MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile, |
18 | - (MINIDUMP_TYPE)(MiniDumpWithIndirectlyReferencedMemory|MiniDumpScanMemory), | |
18 | + (MINIDUMP_TYPE) | |
19 | + (MiniDumpWithIndirectlyReferencedMemory | |
20 | + |MiniDumpWithPrivateReadWriteMemory | |
21 | + |MiniDumpWithThreadInfo | |
22 | + |MiniDumpWithUnloadedModules), | |
19 | 23 | &minidumpInfo, NULL, NULL); |
20 | 24 | CloseHandle(hFile); |
21 | 25 | } |
@@ -44,9 +44,9 @@ extern int version_ex; // PP | ||
44 | 44 | #if 1 /* for VP extend version */ |
45 | 45 | //#define VERSION_EX 1 |
46 | 46 | static const char *PCP_CLIENT_VERSION_EX_PREFIX = "IM"; // 2bytes only |
47 | -static const int PCP_CLIENT_VERSION_EX_NUMBER = 30; | |
48 | -static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0030)"; | |
49 | -static const char *PCX_VERSTRING_EX = "v0.1218(IM0030)"; | |
47 | +static const int PCP_CLIENT_VERSION_EX_NUMBER = 31; | |
48 | +static const char *PCX_AGENTEX = "PeerCast/0.1218(IM0031)"; | |
49 | +static const char *PCX_VERSTRING_EX = "v0.1218(IM0031)"; | |
50 | 50 | #endif |
51 | 51 | |
52 | 52 | // ------------------------------------------------ |
@@ -15,7 +15,11 @@ void SEHdump(_EXCEPTION_POINTERS *lpExcept) | ||
15 | 15 | if ((hFile != NULL) && (hFile != INVALID_HANDLE_VALUE)) |
16 | 16 | { |
17 | 17 | dump = MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile, |
18 | - (MINIDUMP_TYPE)(MiniDumpWithIndirectlyReferencedMemory|MiniDumpScanMemory), | |
18 | + (MINIDUMP_TYPE) | |
19 | + (MiniDumpWithIndirectlyReferencedMemory | |
20 | + |MiniDumpWithPrivateReadWriteMemory | |
21 | + |MiniDumpWithThreadInfo | |
22 | + |MiniDumpWithUnloadedModules), | |
19 | 23 | &minidumpInfo, NULL, NULL); |
20 | 24 | CloseHandle(hFile); |
21 | 25 | } |