Chapter 14. Error Detection and Exception Handling Techniques

by Andrew J. Indovina

In This Chapter

Exceptions are generated when an unexpected event occurs and causes your program to execute abnormally, disrupting its capability to proceed normally, if at all. These events are caused by hardware or software exceptions.

In this chapter, you will look at the three mechanisms of exception handling that Visual C++ 6.0 supports:

  • Structured exception handling (SEH) used mainly in C programs for Windows NT

  • C++ exception handling

  • MFC exception handling

In this chapter, you'll examine the basic concepts behind structured exception handling and its use. You'll look at the basic ...

Get Visual C++® 6 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.