How to use managed code from unmanaged code?

前端 未结 4 2076
遥遥无期
遥遥无期 2021-01-03 01:38

How do I call a .NET code from native C++ (unmanaged code)? I want to expose .NET code to my unmanaged (C++) application and then use them. More specifically, I want to call

4条回答
  •  情歌与酒
    2021-01-03 01:53

    You can always embed Mono. I have personally done it in two projects so far and it's easy enough. Follow Embedding Mono for more information.

提交回复
热议问题