RobMarsh
asked on
How to walk the call stack?
I want to be able to generate within a procedure the call stack that got us there. Knowing the logical addresses of the callers on the stack will do -- I don't need (yet) to get the procedure names or such like.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
function GetCaller: pointer;
asm
MOV EAX, , [EBP+8]
SUB EAX,, 4
end;
Thanks,
RobMarsh