I'm thinking of using CrashRpt open-source library but I'm worried about performance. The app performance requirement is critical so it's very importing not to slow it down. The author affirms that there's no performance degradation but I would like to hear some other people opinions.
I was checking the demos of this library and in the case of MFC app, you just need to load the DLL on the main project and override CWinApp::Run()
The way it does it is like this:
int CMFCDemoApp::Run()
{
// Install crash reporting...
BOOL bRun = TRUE;
BOOL bExit=FALSE;
while(!bExit)
{
bRun= CWinApp::Run();
bExit=TRUE;
}
// Uninstall crash reporting...
return bRun;
}
You can check all the demo code on this link: https://sourceforge.net/p/crashrpt/code/ci/master/tree/demos/MFCDemo/MFCDemo.cpp
I have never overriden CWinApp::Run(), so I don't know if that while() loop will affect in some way.
Thanks in advance for your opinions.