I'm trying to catch a crash inside a DLL on windows 7. This works in some dll projects but not others. I am wondering what I am doing wrong? Is there some project setting I need to enable? How would I enable out-of-process exception handling? Thanks for you help in advance.
bool filterCallback(void* context, EXCEPTION_POINTERS* exinfo, MDRawAssertionInfo* assertion)
{
context; exinfo; assertion;
MessageBox(0,"filter callback",0,0); //Never gets called
return true;
}
bool callback(const wchar_t *dump_path, const wchar_t *id, void *context, EXCEPTION_POINTERS *exinfo, MDRawAssertionInfo *assertion, bool succeeded)
{
MessageBox(0,0,0,0); //Never gets called
dump_path; id; context; exinfo; assertion; succeeded;
return succeeded;
}
static google_breakpad::ExceptionHandler eh(L".", filterCallback, callback, NULL, google_breakpad::ExceptionHandler::HANDLER_ALL, MiniDumpNormal);