Essential Guide to Managed Extensions for C++ - Artur Laksberg, Siva Challa

Essential Guide to Managed Extensions for C++

Buch | Softcover
344 Seiten
2002 | Softcover reprint of the original 1st ed.
Apress (Verlag)
978-1-893115-28-6 (ISBN)
41,72 inkl. MwSt
Managed Extensions for C++ (MC++) are extensions added to the Visual C++ compiler from Microsoft to enable access to the functionality provided by the .NET framework. This title shows how to combine the power of native C++ code with the flexibility of managed code when writing managed applications for the .NET platform.
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.

Artur Laksberg is a member of the Visual C++ Compiler Development Team at Microsoft. When not working, he can be seen cycling the backroads of the Puget Sound, reading books (military history being his latest passion), and programming.

Basics.- Hello, World!.- The .NET Framework.- Managed Classes.- Interfaces.- Value Types.- Pointers, References, and Conversions.- Arrays.- Enumerations.- Properties.- Operators.- Attributes.- Delegates.- Events.- Exceptions.- Interoperability.- Transition from Native to Managed Code.- Platform Invoke Service.- Accessing COM Components from .NET.- Accessing.NET Components from COM.- Data Marshaling between COM and.NET.- Managed Wrappers for Native Types.

Reihe/Serie The Expert's Voice
Zusatzinfo 17 Illustrations, black and white; XXIX, 344 p. 17 illus.
Verlagsort Berkley
Sprache englisch
Maße 191 x 235 mm
Themenwelt Mathematik / Informatik Informatik Datenbanken
Informatik Programmiersprachen / -werkzeuge C / C++
Mathematik / Informatik Informatik Software Entwicklung
Informatik Theorie / Studium Compilerbau
Schlagworte C++ extentions • C++ (Programmiersprache) • Microsoft .NET • net
ISBN-10 1-893115-28-3 / 1893115283
ISBN-13 978-1-893115-28-6 / 9781893115286
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Das umfassende Handbuch

von Torsten T. Will

Buch | Hardcover (2024)
Rheinwerk (Verlag)
49,90
Technisch-wissenschaftliche Übungsaufgaben mit Lösungen

von Thomas Hoch; Gerd Küveler

Buch | Softcover (2023)
Springer Vieweg (Verlag)
37,99
das umfassende Handbuch

von Jürgen Wolf; René Krooß

Buch | Hardcover (2023)
Rheinwerk (Verlag)
49,90