StackWalk64 on Windows – Get symbol name
You have set symbol.MaxNameLength to 255, but you allocated “symbol” on the stack with IMAGEHLP_SYMBOL64 symbol;. That type is defined as: typedef struct _IMAGEHLP_SYMBOL64 { DWORD SizeOfStruct; DWORD64 Address; DWORD Size; DWORD Flags; DWORD MaxNameLength; TCHAR Name[1]; } IMAGEHLP_SYMBOL64; Notice that the Name field only has one character by default. If you want to store … Read more