Logo crashrpt
A crash reporting system for Windows applications

Demo Applications

CrashRpt distribution contains several demo programs intended to show how CrashRpt intercepts critical errors and how it delivers error reports to software vendor:

WTLDemo

WTLDemo application shows how CrashRpt intercepts exceptions in a WTL-based program and how it sends error reports to the software vendor. The application has simple dialog-based GUI that allows to choose what type of exception and in what thread to raise.

To run WTLDemo, open bin directory and run WTLDemo.exe. You can also compile the demo yourself.

WTLDemo application (see the figure below) is designed to test the most probable crash situations.

The Exception type combo box allows to select an exception type. For more information about these exception types, refer to About Exceptions and Exception Handling.

The Thread combo box allows to select the thread exception should be raised in. The Capture Screen button allows to capture end user's desktop and generate a video file that will be included to crash report.

crashrpttest.png

WTLDemo Application Window

The demo does not upload error reports to any server, it just demonstrates how error report delivery works.To make this demo to upload error reports to your own server or to your E-mail address, you need to edit its configuration (see the WTLDemo.cpp file inside of /demos/WTLDemo folder) and then recompile the demo.

MFCDemo

MFCDemo application shows how CrashRpt intercepts exceptions in an MFC-based program and how it sends error reports to the software vendor. To run MFCDemo, open bin directory and run MFCDemo.exe. You can also compile the demo yourself.

MFCDemo application is shown in the figure below. To see what happens on crash, in the MFCDemo window, open menu File and choose Save. Then enter some file name and press the Save button. The application will terminate with an error message.

The MFCDemo application was created from scratch using the Visual Studio MFC wizard, and then it has been slightly modified to integrate it with CrashRpt. In MFCDemo.cpp file, CMFCDemoApp::Run() method was overridden, and in MFCDemoDoc.cpp, the method CMFCDemoDoc::Serialize() was modified to cause crash.

mfcdemo.png

MFCDemo Application Window

The MFCDemo does not upload error reports to any server, it just demonstrates how error report delivery works.To make this demo to upload error reports to your own server or to your E-mail address, you need to edit its configuration (see the MFCDemo.cpp file inside of /demos/MFCDemo folder) and then recompile the demo.

ConsoleDemo

ConsoleDemo application is a console application (presented in the figure below). It generates a SEH exception and shows how CrashRpt intercepts the exception and sends the error report to software support team.

crashcon.png

ConsoleDemo Application Window

To run the demo, open bin directory and run ConsoleDemo.exe. You can also compile the demo yourself.

This demo does not upload error reports to any server, it just demonstrates how error report delivery works. To make this demo to upload your error reports, you need to edit its configuration (see ConsoleDemo.cpp file inside of /demos/ConsoleDemo folder) and then recompile the demo.

Further reading: Frequently Asked Questions.


Generated on Wed Apr 29 10:17:31 2015 for CrashRpt by doxygen 1.5.9