Save 40% on books and eBooks + 70% on videos now through May 31*—use code PROGRAM. Shop now.
“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:
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.
Download the Sample Chapter related to this title.
1. Combining MFC and Managed Extensions.
Writing a Managed Extensions Application.
Writing an MFC Application That Accesses .NET.
Mixed-Mode Programming Issues.
Working with .NET Types.
Using the Regex Class to Split Strings.
Searching Strings with the Match and MatchCollection Classes.
Processing Groups and Captures.
Parsing and Replacing Strings
Replacing Matches Using Groups and Substitution Patterns.
Putting It All Together: Writing an E-mail Parser.
Stream, Readers, and Writers in .NET.
File System Classes.
Accessing the Registry.
Using Hash Codes.
Using Symmetric (Private) Key Encryption.
Using Asymmetric (Public) Key Encryption.
Combining Symmetric Encryption, Asymmetric Encryption, and Hash Codes.
Using Digital Signatures.
Writing and Reading XML Documents.
The DOM and the XmlDocument Class.
Basic Database Operations with ADO.NET.
Working in Batch.
Working with Row State Information.
Searching, Sorting, and Filtering Data.
Working with Typed Datasets.
Working with Binary (BLOB) Data.
Associating Related Tables with the DataRelation Class.
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.
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.
Working with the Windows Event Log.
Monitoring System Performance.
Using .NET Collections.
Serializing Managed Objects to and from Disk.
Download the Foreword related to this title.
Download the Index
file related to this title.