Handling .dll file using ruby in windows XP

C

Chandra Sekhar

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
 
L

Luis Lavena

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/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,373
Latest member
Desiree036

Latest Threads

Top