BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SEH and C++ exceptions

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++)
View previous topic :: View next topic  
Author Message
AlexB
Guest





PostPosted: Mon Apr 23, 2007 8:10 am    Post subject: SEH and C++ exceptions Reply with quote



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





PostPosted: Tue Apr 24, 2007 8:10 am    Post subject: Re: SEH and C++ exceptions Reply with quote



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





PostPosted: Thu Apr 26, 2007 8:10 am    Post subject: Re: SEH and C++ exceptions Reply with quote



It is necessary to add it in QC?
--
Alex.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Language C++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.