C# library to native C++ application

前端 未结 3 1073
说谎
说谎 2021-01-24 02:00

I know I can use dll import + wrapping (managed) to use C++ libraries in C# applications (question link>>) but what\'s opposite? How can I use C# library in my C++ application?

3条回答
  •  生来不讨喜
    2021-01-24 02:38

    CoreRT allows to compile native libraries for windows, linux and osx x64 platform this avoid to you use an C++ compatible layer. CoreRT uses NetCore, and NetCore doesn't support C++/CLI.

    https://dev.to/encrypt0r/writing-native-libraries-in-c-3kl

提交回复
热议问题