【C++/CLI】windows
A C++/CLI application or component uses extensions to C++ syntax (as allowed by the C++ Specification) to enable interaction between .NET and native C++code.app
C++/CLI 是擴展了語法的 C++,使得 .NET和 C++代碼能夠交互。框架
A C++/CLI application can have parts that run natively and parts that run on the .NET Framework with access to the .NET Base Class Library.spa
C++/CLI 應用能夠部分跑在本地,部分跑在 .NET框架上。code
C++/CLI is the preferred option when you have native C++ code that needs to work with code written in C# or Visual Basic. It is primarily intended for use in .NET DLLs rather than in user interface code.component
在有C++代碼須要與 C# 混用的狀況下,C++/CLI是優先選擇。ci
參考:get
一、https://docs.microsoft.com/en-us/cpp/windows/desktop-applications-visual-cpp?view=vs-2017it
二、https://docs.microsoft.com/en-us/cpp/dotnet/dotnet-programming-with-cpp-cli-visual-cpp?view=vs-2017io