O'Reilly logo

Windows® via C/C++, Fifth Edition by Christophe Nasarre, Jeffrey Richter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating and Customizing a Problem Report

In this section, I’ll discuss how to have your application create its own customized problem report. You can use the functions I present in this section whenever a problem occurs in your application; this includes issues not related to exception handling at all. Also, your application doesn’t have to terminate after producing the report. You should consider using Windows Error Reporting instead of adding cryptic information into the Windows Event Log. However, the WER infrastructure does limit the size and number of reports via the registry values shown in Table 26-5. You can find these values under the HKEY_CURRENT_USER\Software\Microsoft\Windows\Windows Error Reporting registry subkey.

Table 26-5. Registry ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required