Ivan
Wed Jul 14 01:08:47 CDT 2004
You have code like
class A {
public:
A(){};
~A(){};
};
Function(){
A a;
__try {} __except(1) {};
}
Object unwinding is one of the C++ features
(implemented between the compiler and the platform)
that ensures that the objects in a given scope will be
properly constructed and destructed according
the visibility rules mandated by the language.
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
"pat" <pat@pattern.com> wrote in message
news:uGDTNfWaEHA.808@tk2msftngp13.phx.gbl...
> When trying to use SEH in VC++, it gives an "error C2712: Cannot use __try
> in functions that require object unwinding."
>
> What's the cause of the error?
>
> What's "object unwinding"?
>
> Thanks!
>
>