C++/CLI Getting started with C++/CLI

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

C++/CLI is a Microsoft-specific dialect of C++ which interoperates well with .NET. Originally, it was envisioned as the "most powerful" of .NET languages and included designer support for WinForms applications. However, new development on C++/CLI has all but ceased, and Microsoft now intends that the language only be used in "interop" scenarios:

  • allowing .NET code to use existing (legacy) C or C++ code, or
  • providing a mechanism for existing C or C++ code to call into (presumably, newer) .NET code.

Interop scenarios that might be complex with P/Invoke can be considerably easier with C++/CLI.

Installation or Setup

Detailed instructions on getting c++-cli set up or installed.



Got any C++/CLI Question?