Hello!
Is there a way to find out the EIP of where an error occurred or to return to the next instruction after an error from within SEH?
Ive been looking around at assembly source for SEH and I cant find anything that mentions this.
I want to setup a single SEH where it will return to the next instruction after an error in a program.
Thanks for any help or suggestions.
Offset B4h within the CONTEXT structure. For a final handler a pointer to this structure is in [ESP+8], for a per-thread handler the pointer is in [ESP+C]
If all you want to do is return there, set EAX=-1 for a final handler or EAX=0 for a per-thread handler and return.
Cheers,
Zooba