Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Extending MFC Applications with the .NET Framework Paperback – December 22, 2003
See the Best Books of 2017
Looking for something great to read? Browse our editors' picks for the best books of the year in fiction, nonfiction, mysteries, children's books, and much more.
Customers who bought this item also bought
From the Back Cover
“To anyone looking to augment their existing MFC code base and knowledge with the powerful .NET classes—which provide such capabilities as disconnected data, in-memory database (IMDB), regular expressions, and data encryption—Tom Archer’s book has it all.”
—Erik Westermann, Lead Architect, Eidenai Innovations
Extending MFC Applications with the .NET Framework is the first book to show MFC developers how to boost productivity by incorporating .NET functionality into existing MFC applications. Tom Archer clearly illustrates how using the .NET Base Class Library (BCL)—to complement or replace MFC classes when there is a clear advantage—enables MFC developers to create elegant and robust Windows applications in the most efficient way possible.
Each chapter begins with an introduction that explains the technology, outlines its benefits, lists its pragmatic business uses, and summarizes the required syntax. As is an Archer trademark, this information is solidified with hands-on, practical demo applications.
This book answers the questions MFC developers have about .NET, including:
- What are the key issues when combining MFC and Managed Extensions? Page 15
- How can Regular Expressions be used to parse a document for multiple complex pattern types, such as email addresses? Page 84
- How can hash codes be used to validate users without storing passwords? Page 161
- How can MFC applications maintain data stored in XML format? Page 274
- Once an ADO.NET DataSet is filled, how can the data be searched, sorted, and filtered? Page 336
- What technique is used for reading image data from a database using ADO.NET classes? Page 363
- What are the options for handling disconnected data concurrency issues? Page 396
- How can Remoting be used to pass MFC objects between applications? Page 460
The CD-ROM supplies the complete downloadable source code, working samples, and test code from the book, as well as several productivity-enhancing utilities such as a Visual Studio .NET Custom AppWizard.
About the Author
Tom Archer is an award-winning programmer and principal of the Archer Consulting Group, which provides training, management and project consulting, and contract programming worldwide. He is a cofounder of CodeGuru, a frequent contributor to CodeProject, and the author of ten books, including the best-selling Inside C#, now in its second edition (Microsoft Press, 2002).
Nishant Sivakumar is a Microsoft Visual C++ MVP and a member of the CodeProject team. He has written more than a hundred online articles on Visual C++ and .NET programming.
Author interviews, book reviews, editors picks, and more. Read it now
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
Most programming books are written by writers who live in some strange world where applications only contain code already well documented on MSDN. Tom Archer is one of those rare writers who actually knows what he is talking about and covers the code we need in the real world.
Aside from the obvious examples and topics in this book, I also got a lot from the little extras included by the author. This book is full of little time saving things I did not expect to find. One example is the Visual Studio App Wizard on the CD. This tool makes it very simple to start an MFC application with all the support you need for .NET already built in. That's a real-world savings for any professional programmer working in MFC & .NET.
Step-by-step instructions for creating the example programs. These make great references when you have to write something similar.
Well thought-out examples. Close enough to real-world work to be helpful but small enough to be understandable.
Extras! The CD contains several tools including a cool custom App Wizard to create a .NET friendly MFC application.
Excellent coverage on XML and database operations. These are two important topics for a professional developer. This book doesn't include the typical (useless) school samples.
The chapter on regular expressions is great!
Could be Better
The index could be twice as large and still be too small.
Chapter 11 - Managing Your Managed Objects is not written in the same clear style as the rest of the book. Despite its name, this chapter is mostly about .NET collections. It reads more like MSDN documentation than Archer's usual writing.
Overall, this book is a clear winner for anyone who works in MFC and wants to use the .NET classes. It's a little pricey, but it will easily save you more than the cost in research time.
* Incredible coverage of XML, RegEx and Cryptography
* I almost didn't read the File I/O chapter thinking it couldn't be of any more help than CStdioFile and CFile. Boy was I wrong!? Great chapter
* The *best* ADO.NET chapters currently in print. Archer is the only author to show why and how to incorporate disconnected data using ADO.NET into an MFC application. Actually, these chapters alone are worth the price of the book.
* Great Visual Studio AppWizard to automate creating MFC/.NET apps!
* Remoting and Performance - These chapters (at the end of the book) seem a bit rushed and could have used more detail.
I'm using this book quite frequently to write MFC/.NET appliations where I create the UI using MFC and then the lower level classes from the .NET BCL. Great combination to produce quality results quickly!
So the authors wrote this book, targeted towards you. It is not a comprehensive introduction to .NET. But they chose to focus on a few topics that you might value. XML for example. This is now a widely adopted standard for data interchange, and if your code isn't already familiar with it, then it might be a good thing to add. It motivates you to start dipping into .NET. Plus, in order to parse XML, they show how to use the standard Document Object Model (DOM) parser that is available under .NET. All useful stuff.
They also use cryptography as another hook into .NET. It is just a guess, but some of your applications might need this. So here is how to use some of the latest advanced implementations of hashing and public key infrastructure. And if these are done in .NET, well, gosh, what a coincidence. :)