Apress Android Sale

Essential Guide to Managed Extensions for C++

By Artur Laksberg , Siva Challa

  • eBook Price: $31.99 $19.19
  • Print Book Price: $44.95
Buy eBook Buy Print Book

Essential Guide to Managed Extensions for C++ Cover Image

This book is a comprehensive guide for programmers writing code in Managed Extensions for C++ (MC++).

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-893115-28-6
  • 344 Pages
  • User Level: Beginner to Advanced
  • Publication Date: January 28, 2002
  • Available eBook Formats: PDF

Related Titles

  • Beginning Windows 10
  • Pro SQL Server Wait Statistics
  • Moving to Office 365
  • Windows Software Compatibility and Hardware Troubleshooting
  • Microsoft Azure
  • Extending SSIS with .NET Scripting
  • Beginning Big Data with Power BI and Excel 2013
  • Pro PowerShell for Database Developers
  • Develop on Yammer
  • Predictive Analytics with Microsoft Azure Machine Learning 2nd Edition
Full Description

  • Features how to write .NET applications using C++, and how to mix unmanaged and managed C++ code in the same application
  • Details when and why to use unmanaged code in .NET developments
  • Includes code samples with detailed explanations in every chapter

The Essential Guide to Managed Extensions for C++ is a comprehensive guide for programmers writing code in Managed Extensions for C++ (MC++). The information in this book comes straight from the horse's mouth—both authors have been key members of the Visual C++ .NET compiler development team and have spent most of their time implementing the language and educating others about managed C++.

The book is divided into two parts. Part One covers the basics of MC++. It starts with an introduction to MC++, and gives a brief overview of the .NET Framework. Next, it delves directly into the various features of MC++, including managed classes, interfaces, value types, properties, enumerations, pointers, arrays, operators, delegates, attributes, events, and exceptions.

Part Two of the book is devoted to the transition between the managed and unmanaged worlds. It starts with a general introduction to interoperability between managed and unmanaged code. The following chapters describe the Platform Invoke service, interoperability between COM and .NET, and various data marshaling techniques. The last chapter of Part Two shows how MC++ can be used to write interoperability layers over existing components with minimal overhead.

Table of Contents

Table of Contents

  1. Hello, World!
  2. The .NET Framework
  3. Managed Classes
  4. Interfaces
  5. Value Types
  6. Pointers, References, and Conversions
  7. Arrays
  8. Enumerations
  9. Properties
  10. Operators
  11. Attributes
  12. Delegates
  13. Events
  14. Exceptions
  15. Transition from Native to Managed Code
  16. Platform Invoke Service
  17. Accessing COM Components from .NET
  18. Accessing .NET Components from COM
  19. Data Marshaling between COM and .NET
  20. Managed Wrappers for Native Types
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published

Best-Sellers

    1. Pro SQL Server Internals

      $41.99

      View Details

    2. Beginning 3D Game Development with Unity 4

      $34.99

      View Details

    3. Beginning iPhone Development with Swift

      $31.99

      View Details

    4. Financial Modeling for Business Owners and Entrepreneurs

      $31.99

      View Details