Question 1 makes no sense.
unwinding.
I suppose you mean the VC++ compiler since there's no such thing
as Windwos C++ platform - I can happily program for Windows in
C++ using GCC for example as my compiler...
Question 1 makes no sense.
For question 2 - you are basically right, though it makes no difference
what caused the process to exit - exception or not. It's mostly academic
by now, but kernel handles were not released in Win 9x.
And a comment on my own. I hope you finish your C++ education
soon, because you are singlehandedly responsible for at least 50% of
the traffic in this group...
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"George" <George@discussions.microsoft.com> wrote in message
news:CAE3C182-04A7-4FF1-AD95-1D17273B3C76@microsoft.com...
Hello everyone,
Just want to check whether my understanding is correct,
Both (1) and (2) only covers Windows C++ platform.
1. If there is uncaught exception, destructor is not ensured to be
called
for active object;
2. All the resources (handles, memory, etc.) for current process will
be
released when uncaught exception causing process to terminate.
thanks in advance,
George