Subject:
[ruby-ffi] Re: Newbie ? about porting code from VB to Ruby
From:
JesseFair
Date:
6/8/11 1:11 PM
To:
ruby-ffi

I tried Win32API as well but cant find out how to pass the cutom data
type WHLLAPIDATA that the WinHLLAPIStartup function is expecting.
Being new to Ruby I cant find a way to construct something that acts
similar to the above code -.. i.e. custom data types. I was able to
get the examples up and working but they only use simple data types
such as int and string.


On Jun 8, 1:18 am, candlerb <b.cand...@pobox.com> wrote:
> I am not a Windows expert, but have you tried looking at Win32API
> instead of FFI? This may be all that you need. There are plenty of
> examples if you google for them.
>
> http://www.ruby-doc.org/docs/ProgrammingRuby/html/win32.htmlhttp://www.ruby-doc.org/docs/ProgrammingRuby/html/lib_windows.html