开发者

IronRuby and C++ DLL

开发者 https://www.devze.com 2023-02-12 04:57 出处:网络
I want to call c++ function from dll. Is it possible to use 开发者_Go百科something like DllImport from C# in IronRuby? There is no option to do that directly from IronRuby at the moment. You will need

I want to call c++ function from dll. Is it possible to use 开发者_Go百科something like DllImport from C# in IronRuby?


There is no option to do that directly from IronRuby at the moment. You will need to wrap the C++ library with a C# assembly (using P/Invoke) and then use the C# assembly from IronRuby.

0

精彩评论

暂无评论...
验证码 换一张
取 消