DoctorDumpSDK
Classes | Macros | Typedefs
CrashRpt.h File Reference
#include <windows.h>

Go to the source code of this file.

Classes

struct  crash_rpt::ApplicationInfo
 Contains data that identifies your application. More...
 
struct  crash_rpt::HandlerSettings
 Contains crash handling behavior customization parameters. More...
 
class  crash_rpt::CrashRpt
 To enable crash processing you should create an instance of this class. More...
 

Macros

#define CRASHRPT_ENABLE_RELEASE_ASSERTS   1
 

Typedefs

typedef crash_rpt::CrashRpt CrashHandler
 Deprecated. Use crash_rpt::CrashRpt class instead.
 
typedef crash_rpt::ApplicationInfo ApplicationInfo
 Deprecated. Use crash_rpt::ApplicationInfo class instead.
 
typedef crash_rpt::HandlerSettings HandlerSettings
 Deprecated. Use crash_rpt::HandlerSettings class instead.
 

Macro Definition Documentation

#define CRASHRPT_ENABLE_RELEASE_ASSERTS   1

To redefine C assert macro behavior define macro CRASHRPT_ENABLE_RELEASE_ASSERTS as 1 and include CrashRpt.h in each translation unit as soon as possible (precompiled header is the best place for that).

#define CRASHRPT_ENABLE_RELEASE_ASSERTS 1
#include <CrashRpt.h>

When _DEBUG define is not defined (it is Release configuration) assert macro evaluates an expression and, when the result is false, sends report and continues execution. When _DEBUG define is defined (it is Debug configuration) assert macro works as standard assert macro from assert.h header.

Note
All assert calls before CrashRpt.h inclusion would work as standard asserts.
See Also
crash_rpt::CrashRpt::ExceptionAssertionViolated crash_rpt::CrashRpt::SkipDoctorDump_SendAssertionViolated