Advertisement
Membership
Login
ACCU Buttons
Search in Book Reviews
Search is a simple string search in either book title or book author. The full text search is a search of the text of the review.
The rest of the book discusses code samples (included on CDROM) that perform a rather arbitrary selection of tasks. Out of 240 pages it devotes 47 to the author's message dialogue box, 24 to popup menus and 14 to an unsatisfactory attempt to embed an ActiveX browser control into an application. Shorter sections discuss accessing the registry, string matching, using rich text, writing BLOBs to a database and trapping Plug-and-Play event messages. Most of the samples are presented twice, once in MSVC/MFC and once in VB. Some of them border on the trivial, while others assume that the reader has extensive Windows programming experience. I did not find this part of the book useful. It feels as though the author has decided to show off some cool programming techniques and then tried to invent a connection with the subject of error messages. Those topics which are useful are covered more coherently by other UI programming books.
Finally, the quality of the code is poor. The author's dialogue box utility contains public member variables and magic numbers, while it avoids the use of const. It contains numerous memory leaks, its error handling leaves much to be desired and it uses some of the most eccentric string copying techniques I have ever seen.
In summary, I feel that had the code samples been omitted and the price been proportionately reduced, this book could have been worth considering. Not recommended in its current form.