|
crashrpt
|
Installs (uninstalls) exception handlers for the caller thread in class' constructor (destructor). More...
#include <CrashRpt.h>
Public Member Functions | |
| CrThreadAutoInstallHelper (DWORD dwFlags=0) | |
| Installs exception handlers to the caller thread. | |
| ~CrThreadAutoInstallHelper () | |
| Uninstalls exception handlers from the caller thread. | |
Public Attributes | |
| int | m_nInstallStatus |
| Install status. | |
Installs (uninstalls) exception handlers for the caller thread in class' constructor (destructor).
This wrapper class calls crInstallToCurrentThread2() in its constructor and calls crUninstallFromCurrentThread() in its destructor.
Use CrThreadAutoInstallHelper::m_nInstallStatus member to check the return status of crInstallToCurrentThread2().
Example:
1.8.12