Wrapping C++ for use in C#

前端 未结 4 881
自闭症患者
自闭症患者 2020-12-15 12:07

Ok, basically there is a large C++ project (Recast) that I want to wrap so that I can use it in my C# project.

I\'ve been trying to do this for a while now, and this

4条回答
  •  太阳男子
    2020-12-15 12:29

    I would look at creating a COM server using ATL. It won't be a simple port, though. You'll have to create COM compatible interfaces that expose the functionality of the library you're trying to wrap. In the end, you will have more control and a fully supported COM Interop interface.

提交回复
热议问题