The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: junihausen on February 20, 2005, 09:13:29 PM

Title: SEH Macros
Post by: junihausen on February 20, 2005, 09:13:29 PM
Hi,
I made some new Exceptionhandling macros. Perhaps anyone has some ideas what could be done better.
:green2


[attachment deleted by admin]
Title: Re: SEH Macros
Post by: Randall Hyde on February 23, 2005, 10:37:42 PM
Quote from: junihausen on February 20, 2005, 09:13:29 PM
Hi,
I made some new Exceptionhandling macros. Perhaps anyone has some ideas what could be done better.
:green2


I've not downloaded your macros yet, but you might want to look at the try..exception..endtry macros I wrote as part of the UCR Standard Library for 80x86 Assembly Programmers, v2.0, about 10 years ago. These didn't support SEH, but they came relatively close to doing the same thing SEH does. If you look at the output of the comparable statements in HLA (which does use SEH), you can easily see how to modify the UCR stdlib macros to support SEH.

http://webster.cs.ucr.edu/AsmTools/MASM/MASMLibs.html

Cheers,
Randy Hyde