Handling .dll file using ruby in windows XP

Hi,

I am new to Ruby. I want to use a dll with RUBY to change/modify the
frequency value in a signal generator.

Is it possible to open dll file in ruby to read/write the value in it?

Thanks,
Chandra

On Sep 2, 2:16 am, Chandra S. [email protected] wrote:

Hi,

I am new to Ruby. I want to use a dll with RUBY to change/modify the
frequency value in a signal generator.

Is it possible to open dll file in ruby to read/write the value in it?

While you can alter the contents of a binary file (DLL), I presume is
not what you want as will render the DLL useless afterwards.

Please read the API documentation of the DLL you want to use and take
a look to Ruby FFI interface for writing down a module that interfaces
it.

http://wiki.github.com/ffi/ffi/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs