|
crashrpt
|
Installs exception handlers in constructor and uninstalls in destructor. More...
#include <CrashRpt.h>
Public Member Functions | |
| CrAutoInstallHelper (__in PCR_INSTALL_INFOA pInfo) | |
| Installs exception handlers to the caller process. | |
| CrAutoInstallHelper (__in PCR_INSTALL_INFOW pInfo) | |
| Installs exception handlers to the caller process. | |
| ~CrAutoInstallHelper () | |
| Uninstalls exception handlers from the caller process. | |
Public Attributes | |
| int | m_nInstallStatus |
| Install status. | |
Installs exception handlers in constructor and uninstalls in destructor.
This wrapper class calls crInstall() in its constructor and calls crUninstall() in its destructor.
Use CrAutoInstallHelper::m_nInstallStatus member to check the return status of crInstall().
Example:
1.8.12