Essential Guide to Managed Extensions for C++

Managed Extensions for C++ are extensions added to
the Visual C++ .NET compiler to allow developers
access to the functionality provided by the .NET
Framework. Visual C++ .NET is the only .NET
language that can generate both native and managed
code, and it has a rich set of
features to let you write managed applications for
the .NET platform. Part one of the book
covers the basics of MC++. It starts with
an introduction to MC++. Then it gives a
brief introduction to the .NET Framework. Next, it
goes 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 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. All chapters include code samples with
detailed explanations.