Win32 – Backtrace from C code

Alright, now I got it. : ) The problem was in the SYMBOL_INFO structure. It needs to be allocated on the heap, reserving space for the symbol name, and initialized properly. Here’s the final code: void printStack( void ); void printStack( void ) { unsigned int i; void * stack[ 100 ]; unsigned short frames; … Read more