| 184 | |
| 185 | #ifdef EXCEPTION_FILTER_TEST |
| 186 | LONG WINAPI ExpFilter(EXCEPTION_POINTERS* pExp, DWORD dwExpCode) |
| 187 | { |
| 188 | //StackWalker sw; // output to default (Debug-Window) |
| 189 | StackWalkerToConsole sw; // output to the console |
| 190 | sw.ShowCallstack(GetCurrentThread(), pExp->ContextRecord); |
| 191 | return EXCEPTION_EXECUTE_HANDLER; |
| 192 | } |
| 193 | void ExpTest5() |
| 194 | { |
| 195 | char* p = NULL; |
no outgoing calls