Vectored Exception Handling

From Wikipedia, the free encyclopedia

See also: Exception handling

Microsoft Vectored Exception Handling (VEH) is an exception handling mechanism that complements the Structured Exception Handling mechanism. It is available on the Windows NT family of operating systems, starting with Windows XP. It was extended in Windows Server 2003.

Contents

[edit] Vectored Exception Handling

Vectored Exception Handling is made available to Windows programmers using languages such as C++ and Visual Basic. VEH does not replace Structured Exception Handling (SEH), rather VEH and SEH coexist, with VEH handlers having priority over SEH handlers.[1] Compared with SEH, VEH works more like a traditional notification callback scheme.[2]

[edit] Use of VEH

See also: Exception handling syntax

Use AddVectoredExceptionHandler API

[edit] Structured Exception Handling

Microsoft Structured Exception Handling is the forerunner technology to VEH available in early Windows versions.[1]

[edit] Use of SEH

See also: Exception handling syntax

__try and __except mechanism

See also: exception handling

[edit] References