C++/CLI

  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.

    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.

    C++/CLI 应用可以部分跑在本地,部分跑在 .NET框架上。

  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.

    在有C++代码需要与 C# 混用的情况下,C++/CLI是优先选择。

参考:

1、https://docs.microsoft.com/en-us/cpp/windows/desktop-applications-visual-cpp?view=vs-2017

2、https://docs.microsoft.com/en-us/cpp/dotnet/dotnet-programming-with-cpp-cli-visual-cpp?view=vs-2017

相关文章:

  • 2021-06-07
  • 2022-03-01
  • 2021-12-13
  • 2021-07-28
  • 2021-08-04
猜你喜欢
  • 2021-07-07
  • 2021-06-23
  • 2021-12-22
  • 2021-08-07
  • 2021-10-21
相关资源
相似解决方案