OWLNext
7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Stackwalker.h
Go to the documentation of this file.
1
/*////////////////////////////////////////////////////////////////////////////
2
* Project:
3
* Memory_and_Exception_Trace
4
*
5
* ///////////////////////////////////////////////////////////////////////////
6
* File:
7
* Stackwalker.h
8
*
9
* Remarks:
10
*
11
*
12
* Note:
13
*
14
*
15
* Author:
16
* Jochen Kalmbach
17
*
18
*/
///////////////////////////////////////////////////////////////////////////
19
20
#ifndef __STACKWALKER_H__
21
#define __STACKWALKER_H__
22
23
// Only valid in the following environment: Intel platform, MS VC++ 5/6/7
24
#ifndef _M_IX86
25
#error Only INTEL envirnoments are supported!
26
#endif
27
28
// Only MS VC++ 6 to 10
29
#if (_MSC_VER < 1200) || (_MSC_VER > 1600)
30
#error Only MS VC++ 6/7/8/9/10 supported. Check if the '_CrtMemBlockHeader' has not changed with this compiler!
31
#endif
32
33
// Make extern "C", so it will also work with normal C-Programs
34
35
#ifdef __cplusplus
36
extern
"C"
{
37
#endif
38
39
enum
eAllocCheckOutput
40
{
41
ACOutput_Simple
,
42
ACOutput_Advanced
,
43
ACOutput_XML
44
};
45
46
extern
int
InitAllocCheckWN
(
eAllocCheckOutput
eOutput
,
LPCTSTR
pszFilename
,
ULONG
ulShowStackAtAlloc
= 0);
47
extern
int
InitAllocCheck
(
eAllocCheckOutput
eOutput
=
ACOutput_Simple
,
BOOL
bSetUnhandledExeptionFilter
=
TRUE
,
ULONG
ulShowStackAtAlloc
= 0);
// will create the filename by itself
48
extern
ULONG
DeInitAllocCheck
();
49
extern
DWORD
StackwalkFilter
(
EXCEPTION_POINTERS
*
ep
,
DWORD
status,
LPCTSTR
pszLogFile
);
50
51
#ifdef __cplusplus
52
}
53
#endif
54
55
#endif
// __STACKWALKER_H__
eAllocCheckOutput
eAllocCheckOutput
Definition
Stackwalker.h:40
ACOutput_XML
@ ACOutput_XML
Definition
Stackwalker.h:43
ACOutput_Advanced
@ ACOutput_Advanced
Definition
Stackwalker.h:42
ACOutput_Simple
@ ACOutput_Simple
Definition
Stackwalker.h:41
DeInitAllocCheck
ULONG DeInitAllocCheck()
Definition
Stackwalker.cpp:2231
StackwalkFilter
DWORD StackwalkFilter(EXCEPTION_POINTERS *ep, DWORD status, LPCTSTR pszLogFile)
Definition
Stackwalker.cpp:2299
InitAllocCheckWN
int InitAllocCheckWN(eAllocCheckOutput eOutput, LPCTSTR pszFilename, ULONG ulShowStackAtAlloc=0)
Definition
Stackwalker.cpp:2151
InitAllocCheck
int InitAllocCheck(eAllocCheckOutput eOutput=ACOutput_Simple, BOOL bSetUnhandledExeptionFilter=TRUE, ULONG ulShowStackAtAlloc=0)
Definition
Stackwalker.cpp:2192
VarType
Definition
safearray.h:14
source
owlcore
Stackwalker.h
Generated by
1.10.0