如何获取导致错误的程序上下文的`callstack(不是未处理的异常调用堆栈)
例如:
LONG WINAPI myUnhandledException(PEXCEPTION_POINTERS pExceptionPtrs)
{
//Get the eip when the crash occur
DWORD eip = pExceptionPtrs->ContextRecord->Eip;
//how to get crash call stack??
//0x123
//0x896
//Eip
}
int main()
{ //Set the unhandledexceptionfilter
SetUnhandledExceptionFilter(myUnhandledException);
}