This documentation is archived and is not being maintained.
Compiler Warning (level 3) C4509
Visual Studio 2005
Error Messagenonstandard extension used: 'function' uses SEH and 'object' has destructor
You should not use structured exception handling in functions that use objects with destructors. If an exception occurs, the destructor cannot be called. Use C++ exception handling instead.