![]() |
crashrpt | |
| A crash reporting system for Windows applications | ||
Public Member Functions | |
| CrThreadAutoInstallHelper (DWORD dwFlags=0) | |
| Installs exception handlers to the caller thread. | |
| ~CrThreadAutoInstallHelper () | |
| Uninstalls exception handlers from the caller thread. | |
Data Fields | |
| int | m_nInstallStatus |
| Install status. | |
Use CrThreadAutoInstallHelper::m_nInstallStatus member to check the return status of crInstallToCurrentThread2().
Example:
DWORD WINAPI ThreadProc(LPVOID lpParam)
{
CrThreadAutoInstallHelper cr_thread_install_helper();
assert(cr_thread_install_helper.m_nInstallStatus==0);
// Your code follows here ...
}
1.5.9