1 ///////////////////////////////////////////////////////////////////////////////
3 // Purpose: helpers for the structured exception handling (SEH) under Win32
4 // Author: Vadim Zeitlin
8 // Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org>
9 // Licence: wxWindows licence
10 ///////////////////////////////////////////////////////////////////////////////
12 #ifndef _WX_MSW_SEH_H_
13 #define _WX_MSW_SEH_H_
17 #if wxUSE_ON_FATAL_EXCEPTION
19 // ----------------------------------------------------------------------------
20 // wxSEHReport: this class is used as a namespace for the SEH-related functions
21 // ----------------------------------------------------------------------------
23 struct WXDLLIMPEXP_BASE wxSEHReport
25 // set the name of the file to which the report is written, it is
26 // constructed from the .exe name by default
27 static void SetFileName(const wxChar
*filename
);
29 // return the current file name
30 static const wxChar
*GetFileName();
32 // write the exception report to the file, return true if it could be done
34 static bool Generate();
37 #endif // wxUSE_ON_FATAL_EXCEPTION
39 #endif // _WX_MSW_SEH_H_