Book description
“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.
032117352XB11142003
Table of contents
- Copyright
- Praise for Extending MFC Applications with the .NET Framework
- Foreword
- Preface
- Acknowledgments
- Combining MFC and Managed Extensions
- Regular Expressions
- File I/O and Registry
- Cryptography, Hash Codes, and Data Encryption
- XML and the DOM
- Disconnected Data via ADO.NET and DataSets
- Advanced ADO.NET
-
Combining ADO.NET and XML
- Introduction
- Serializing XML from a Single DataTable or Multiple Unrelated DataTables
- Serializing Datasets Containing Related Data Tables
- Mapping DataTable Columns to XML Node Types
- Saving Formatted XML
- Writing Schema Information
- Generating XML from a DataTable
- Filling DataSet Objects from XML
- Working with DiffGrams
- Summary
-
Remoting
- Introduction
- Issues with DCOM
- Remoting and Web Services
- Demo: Writing a Demo Remoting Application
- Wrapping MFC Objects for Remoting
- Selecting Remoting Channels
- Using Asynchronous Callbacks
- Returning Objects to the Server
- Using Remoting in Interprocess Communication
- Implementing a Remoting Server in a Windows Service
- Summary
- Event Log, Process Control, and Benchmarking
- Managing Your Managed Objects
- XML Overview and Syntax
- XPath Overview and Syntax
- Article
Product information
- Title: Extending MFC Applications with the .NET Framework
- Author(s):
- Release date: December 2003
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780321173522
You might also like
book
.NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library
Edited by a Lead Program Manager on Microsoft's .NET Framework team, is the definitive reference for …
book
Porting to the Symbian Platform: Open Mobile Development in C/C++
If you want to write mobile applications without the idioms of Symbian C++, have existing software …
book
Pro C# 2010 and the .NET 4 Platform, Fifth Edition
The first edition of this book was released at the 2001 Tech-Ed conference in Atlanta, Georgia. …
book
C# 4.0 Unleashed
C# 4.0 Unleashed is a practical reference focusing on the C# language and the .NET platform …