Re: Oh boy, how did we miss this...

From: VBDis (vbdis_at_aol.com)
Date: 11/09/04


Date: 09 Nov 2004 11:55:21 GMT

Im Artikel <418f31b6$0$568$e4fe514c@news.xs4all.nl>, "Maarten Wiltink"
<maarten@kittensandcats.net> schreibt:

>Isn't this as simple as distinguishing between Windows exceptions and
>Delphi exceptions?

With the difference being precisely what? That both are /handled/ by Delphi
SEH, but only Delphi exceptions can be /caught/?

>Windows SEH is characterised by the behaviour with respect to guard
>frames, and Delphi exception [object] handling was carefully engineered
>to be a superset of that, with some replacing of code by functionally
>equivalent code.

I wouldn't call this an "superset" of SEH, it's more a *subset*. In so far I
agree with Laura, it shouldn't be too complicated to allow for exception
filters based on exception codes, instead of (Laura) or in addition to (DoDi)
filters based on exception objects.

Perhaps we still have no precise idea of "SEH".
What's "structured"? Is it the Try/Except/Finally syntax?

What is an "exception"? Is it a technical term, related to guard frames and
exception records, or is it a logical term, related to what can be handled
(Delphi exception objects)?

What is "handling"? With regards to "catching"?
Hint: Non-Delphi exceptions are handled by SEH, i.e. Finally code runs, but
they cannot be cought by Except. Should we consequently distinguish between
Try/Except and Try/Finally?

Sometimes I think it should read: Use that darn SysUtils unit, then SEH is easy
to explain.

DoDi



Relevant Pages

  • Re: Try Finally...
    ... Okay, so one big part of Delphi SEH requires conversions for system exceptions, ... assertions and other Delphi exceptions into Delphi SEH structures. ... In my tests no Finally code was executed, the call to @Assert actually ... I.e. SEH is not working at all when the various exception conditions do ...
    (comp.lang.pascal.delphi.misc)
  • Visual C-like exception from Delphi?
    ... Microsoft C++ exceptions and Delphi exceptions are different ... But I'm writing add-in for Internet Explorer and have to raise ... It it possible to raise VisualC-like exception from Delphi? ...
    (borland.public.delphi.nativeapi)
  • Re: initial lang spec: SXIL...
    ... Shouldn't some of that functionality be moved into the exception ... but, of course, natively using SEH requires compiler support. ... throws a fixed exception code in my case, and generic handlers are used. ... It took many years, and a language review, before I realized that my fond ...
    (comp.lang.misc)
  • Re: CORRECTION Re: confused by exception handling in VC 2008
    ... translator to convert asynchronous SEH exceptions into synchronous C++ ... going to combine SEH and C++ exception handling, you should at least do it ...
    (microsoft.public.vc.mfc)
  • [EXPL] Alphanumeric GetPC Code and Shellcode Encoder-Decoder
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... In addition attached is an uppercase alphanumeric shellcode ... new SEH. ... Then it causes an exception, passing execution to the new SEH. ...
    (Securiteam)