I am trying to call methods from a dll. I know this works with Python. I
want to rubify it. My code is as follows:
require ‘dl’
require ‘dl/import’
h_rrcApi = DL.dlopen(“mydll.Dll”)
h_rrcApi.mymethod(10, 120, 4, 208)
when I run this i get the error:
CreateCell_DeleteCell.rb:32:in <main>': undefined method
mymethod’ for
#DL::Handle:0x29af840 (NoMethodError)
Any ideas where im going wrong would be much appreciated.
Jerome