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
36extern "C" {
37#endif
38
45
48extern ULONG DeInitAllocCheck();
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif // __STACKWALKER_H__
eAllocCheckOutput
Definition Stackwalker.h:40
@ ACOutput_XML
Definition Stackwalker.h:43
@ ACOutput_Advanced
Definition Stackwalker.h:42
@ ACOutput_Simple
Definition Stackwalker.h:41
ULONG DeInitAllocCheck()
DWORD StackwalkFilter(EXCEPTION_POINTERS *ep, DWORD status, LPCTSTR pszLogFile)
int InitAllocCheckWN(eAllocCheckOutput eOutput, LPCTSTR pszFilename, ULONG ulShowStackAtAlloc=0)
int InitAllocCheck(eAllocCheckOutput eOutput=ACOutput_Simple, BOOL bSetUnhandledExeptionFilter=TRUE, ULONG ulShowStackAtAlloc=0)