| View previous topic :: View next topic |
| Author |
Message |
AlexB Guest
|
Posted: Mon Apr 23, 2007 8:10 am Post subject: SEH and C++ exceptions |
|
|
Hi all.
BCB5.
The following code eats all (structured and C++) exceptions:
try
{
... // do something
}
__except(EXCEPTION_EXECUTE_HANDLER)
{
// do nothing
}
Is it correct behaviour?
--
Alex. |
|
| Back to top |
|
 |
AlexB Guest
|
Posted: Tue Apr 24, 2007 8:10 am Post subject: Re: SEH and C++ exceptions |
|
|
Chris Uzdavinis (TeamB) wrote:
| Quote: | "AlexB" <b.a.v (AT) inbox (DOT) ru> writes:
BCB5
|
IMHO here is quite enough information about "compiler and OS" :-)
| Quote: | The following code eats all (structured and C++) exceptions:
try
{
... // do something
}
__except(EXCEPTION_EXECUTE_HANDLER)
{
}
Is it correct behaviour?
This is behavior outside the realm of the C++ standard. The only
measurement of "correctness" you can have is the documentation of the
compiler and OS.
|
Well, fresh wording: is this documented?
In addition: __except doesn't call destructor for C++ exception object.
Is this documented?
SEH is invention of MS. Thus "the correct behaviour" can be treated as
"the behaviour similar to VC". How it works in VC?
--
Alex. |
|
| Back to top |
|
 |
AlexB Guest
|
Posted: Thu Apr 26, 2007 8:10 am Post subject: Re: SEH and C++ exceptions |
|
|
It is necessary to add it in QC?
--
Alex. |
|
| Back to top |
|
 |
|