News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Has anyone done any work on SEH recently ?

Started by hutch--, July 27, 2008, 12:54:39 PM

Previous topic - Next topic

hutch--

I did a forum search but found little that was useful, by scanning the little I could find it appears that ESP is stored in the FS register but I don't yet have a good overview on how it works. I found Matt Peitrek's article dated 1997 but is a bit more complex that what I have in mind. Has anyone done any work in this area lately ?
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Tedd

http://www.jorgon.freeserve.co.uk/Except/Except.htm


I plan on writing an SEH library and macros at some point - along the lines of try/catch/finally - but who knows when that will get done :bdg
No snowflake in an avalanche feels responsible.

hutch--

Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

zooba

There is a VB style OnErrorGoto macro and other helpers in my ASMRT library (here) which I honestly haven't touched in 18 months, but it worked fine, as well as supporting custom exceptions.

The documentation is not included in the source zip file, but is browsable at http://web.aanet.com.au/zooba/ASMRTDoc/.

Feel free to pick and take what you like, though be warned that the macros may not work straight away if removed from the rest of the library (they depend on the prologue macro to set a variable with the name of the current procedure, for instance).

Cheers,

Zooba :U