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 ...
Get Windows® via C/C++, Fifth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.