bug 113833 Disabling trace-malloc if required dlls are not

found. (thanks jband) r=dp, sr=jband
This commit is contained in:
dp@netscape.com
2001-12-07 14:29:24 +00:00
parent e3e373e9ff
commit ae1d79b475
4 changed files with 14 additions and 4 deletions

View File

@@ -71,8 +71,10 @@ dhwEnsureImageHlpInitialized()
HMODULE module = ::LoadLibrary("DBGHELP.DLL");
if (!module) {
DWORD dw = GetLastError();
printf("DumpStack Error: DBGHELP.DLL wasn't found. "
"GetLastError() returned 0x%8.8X\n", dw);
printf("DumpStack Error: DBGHELP.DLL wasn't found. GetLastError() returned 0x%8.8X\n"
" This DLL is needed for succeessfully implementing trace-malloc.\n"
" This dll ships by default on Win2k. Disabling trace-malloc functionality.\n"
, dw);
return PR_FALSE;
}