From: Raphael Clancy Date: 2002-01-31T14:33:34+09:00 Subject: Re: Win32API and dll programming in windows just for grins I tried this as well: dllver=Win32API.new("NameOfDll", "GetDllVersion", ['P'], 'v') result = " "*4 dllver.call("result") vers = result.unpack('f*') puts "Version: #{vers}" and I get a very small number 1.3E-19, then I comented out the dllver.call line, and I got the exact same result, so nothing at all is being put in result. The dll needs to be in windows\system, right? looks like it's more beating for me ;) Thanks!