Chapter 9. Migrating to Visual C++ .NET

When we say we want to migrate the existing C++ code to .NET Framework, the first question that comes to our mind is What is the need to migrate the existing code to .NET Framework when it supports the interoperability with the existing C++ code? The answer lies in the extent of support provided for the interoperability with existing C++ code, the overhead associated with the interoperability, and the ability to exploit the various features provided by it.

We start with the extent of support provided by .NET Framework for interoperability with existing C++ code. There are four aspects to this:

  1. Calling an existing COM component from .NET Framework

  2. Calling a .NET component from unmanaged code

  3. Calling unmanaged ...

Get Migrating to .NET: A Pragmatic Path to Visual Basic .NET, Visual C++ .NET, and ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.