سؤال

I want to call c++ function from dll. Is it possible to use 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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top