Native and .NET Interoperability
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at Native and .NET Interoperability.
Visual C++ supports interoperability features that allow managed and unmanaged constructs to co-exist and interoperate within the same assembly, and even in the same file. A small subset of this functionality, such as P/Invoke, is supported by other .NET languages as well, but most of the interoperability support provided by Visual C++ is not available in other languages.
In This Section
Using a Windows Form User Control in MFC
Discusses how to use the MFC Windows Forms support classes to host Windows Forms controls within your MFC applications.
Calling Native Functions from Managed Code
Describes how non-CLR DLLs can be used from .NET applications.