0

I have SDK which exist on DLL files i need to attach those file with my ruby project and call dll files directly from ruby on rails web application.

I read about win32ole and ffi but i'm still confused.

I want to call DLL file directly from ROR web application.

Israr
  • 41
  • 2
  • 9
  • Possible duplicate of [Creating a simple c# dll and access it from ruby](https://stackoverflow.com/questions/14366491/creating-a-simple-c-sharp-dll-and-access-it-from-ruby) – Neil Jan 29 '19 at 11:03
  • thanks....... but i have ZK40 Bio-metric attendance machine, which SDK have DLL file and i want to integrate SDK with my rails application. – Israr Jan 29 '19 at 11:35
  • Unless these DLLs have been written in a way that is accessible (e.g. COM), then you will either have to wrap the C# dll in another C# dll that exposes the functions via COM, or modify the original C# library to expose it. The answer I linked to shows how to do it. – Neil Jan 29 '19 at 11:43
  • thank you for the quick response. – Israr Jan 29 '19 at 12:19
  • Kindly confirm me, i have also same sdk in .so format and im using ubuntu then still i have to use Win32API ? – Israr Jan 29 '19 at 12:24

0 Answers0