[shell-coding] exception handling

Hi all,

For anyone who is interested, I've been trying to figure out how to
implement exception handling not using the MS VC compiler specifc __try
__finally __except keywords.  So I found a pretty detailed article on it at:
http://www.microsoft.com/msj/0197/Exception/Exceptiontop.htm

Anyway, I'm wondering if anyone else has some good pointers on exception
handling that will not be compiler specific, and will hopefully allow me to
recover from a .dll causing access violations.  My hope is that I would be
able to catch the exception in the thread, terminate and clean up the thread
as gracefully as possible, hopefully identifying the .dll that caused the
crash then restarting the thread.

Seems like a lot to ask, but I've made some fair progress on it, but to
finish the last mile, I'm hoping someone else has already got a decent
implementation working I can play with :P  Any general or more specific
info, is welcome.  thanks.

seeya
chris


--
ActivatorMail(tm) ver.061902 Scanned for all viruses by 
www.activatormail.com intelligent anti-virus anti-spam service


__________________________________________________
Subscription options and archive:
http://www.freelists.org/list/shell-coding

Other related posts: