|
C++/CLI In Action
Developers initially welcomed Microsoft's Managed C++ for .NET, but the twisted syntax made it difficult to use. Its much-improved replacement, C++/CLI, now provides an effective bridge between the native and managed programming worlds. Using this technology, developers can combine existing C++ programs and .NET applications with little or no refactoring.
Accessing .NET libraries like Windows Forms, WPF, and WCF from standard C++ is equally easy.
C++/CLI in Action is a practical guide that will help you breathe new life into your legacy C++ programs. The book begins with a concise C++/CLI tutorial. It then quickly moves to the key themes of native/managed code interop and mixed-mode programming. You'll learn to take advantage of GUI frameworks like Windows Forms and WPF while keeping your native C++ business logic. The book also covers methods for accessing C# or VB.NET components and libraries. Written for readers with a working knowledge of C++.
Part 1: The C++/CLI Language
Chapter 1: Introduction to C++/CLI
Chapter 2: Getting into the CLI: properties, delegates and arrays
Chapter 3: More C++/CLI: stack semantics, function overriding and generic programming
Part 2: Mixing Managed And Native Code
Chapter 4: Introduction to mixed-mode programming
Chapter 5: Interoping with native libraries from managed applications
Part 3: Using Managed Frameworks From Native Applications
Chapter 6: Interoping Windows Forms with MFC
Chapter 7: Using C++/CLI to target Windows Presentation Foundation applications
Chapter 8: Accessing the Windows Communication Foundation with C++/CLI
|