This documentation is archived and is not being maintained.

Managed Extensions for C++ Migration Guide

Visual Studio .NET 2003


The Managed Extensions for C++ Migration Guide is an introductory guide for the C++ developer who intends using Managed Extensions for C++ to leverage existing C++ classes and C++ programming skills in targeting the .NET Framework common language runtime.

Managed Extensions for C++ are extensions to the C++ language that enable developers to write code that targets the common language runtime. For more information about Managed Extensions, see the Managed Extensions for C++ Specification and Managed Extensions for C++ Programming.

The Migration Guide consists of two parts:

  • Part I is an introduction to techniques for wrapping unmanaged C++ classes with Managed Extensions for C++ classes that act as proxies.
  • Part II discusses the use of Platform Invocation Services, or PInvoke, provided by the common language runtime. PInvoke provides a direct way to use functions in existing native C++ DLLs in a managed application.


To navigate within this document, use the help Contents window (CTRL+ALT+F1).

Microsoft Word Version

A Microsoft Word version of this document is available on the product media in Program Files\Microsoft Visual Studio .NET 2003\VC7\Migration_Guide.doc.