C# library to native C++ application

前端 未结 3 1074
说谎
说谎 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:57

    No CLI?

    You can do it using Reverse P/Invoke

    See http://tigerang.blogspot.co.il/2008/09/reverse-pinvoke.html.

提交回复
热议问题