From: Luis Lavena Date: 2010-09-03T03:45:14+09:00 Subject: Re: Handling .dll file using ruby in windows XP On Sep 2, 2:16 am, Chandra Sekhar 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/ -- Luis Lavena