The ErrorShow Sample Application

The ErrorShow application, 01-ErrorShow.exe, demonstrates how to get the text description for an error code. The source code and resource files for the application are in the 01-ErrorShow directory on this book’s companion content Web page, which is located at http://wintellect.com/Books.aspx. Basically, this application shows how the debugger’s Watch window and Error Lookup programs do their things. When you start the program, the following window appears.

The ErrorShow Sample Application

You can type any error number into the edit control. When you click the Look Up button, the error’s text description is displayed in the scrollable window at the ...

Get Windows® via C/C++, Fifth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.