CrashReport是怎么做的?
希望知道的人把简单流程或者关键技术说一下(最好是基于MFC的)
[解决办法]
SetErrorMode(SEM_NOGPFAULTERRORBOX);
SetUnhandledExceptionFilter(UnhandledExceptionFilter);
MINIDUMPWRITEDUMP pWriteDumpFun = (MINIDUMPWRITEDUMP)::GetProcAddress(hDll, "MiniDumpWriteDump");
pWriteDumpFun(GetCurrentProcess(), GetCurrentProcessId(), hFile, MiniDumpNormal, ExceptionInfo!=0? &ExInfo: 0, NULL, NULL);
call crash report ui...
[解决办法]
去看看dump,debug相关的API。