Introduction
Error Reporter is an add-in that enables applications to report back faults
to the manufacturers. Any problem from a simple memory overwrite to a hidden
'double free' can be detected and the information sent. It sends reports via
the SMTP protocol to a server and email address defined by the code creator.
It also features the ability to allow the user to save the reports if they
want! This would be a boon to helping debug your applications!
Updates In This Version
Memory leaks have been taken care of. Resource files have been added to allow people to see the dialog
box. Added Compile.BAT to demo application to simplify usage. Simple!
What Do I Get With This?
Huh? See the above section. That is what you get!
But You Said Four Lines Of Code!?! (AKA: How Can I Use It?)
It's as simple as this:
#include "exceptionhandler.h"
int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
__try {
}
__except (ExceptionHandler (hInstance, GetExceptionInformation ())) {
}
return 0;
}
The system is very simple and self-explanatory so have a quick look through at the source to get an
in-depth understanding!
Ok - That's Simple Enough; Anything Else
This is the usual nonsense - should you want to use it!
- Email me for permission to use/include (always given). I just want to know what purpose it is
being used for. It is provided completely free for "Non-Commercial Usage."
- Include the files in your C++ project.
- Compile!
- Play!
Mentions
The code for this is loosely based on the MFC project "Dump Handler" by Shane Hyde. Except that this is easier to use
and does not use MFC!