Subject: Re: [ruby-ffi] [OT] win32api question |
From: Luis Lavena |
Date: 12/18/09 12:52 PM |
To: ruby-ffi@googlegroups.com |
On Fri, Dec 18, 2009 at 3:47 PM, rogerdpack <rogerpack2005@gmail.com> wrote:
http://rubygems.rubyforge.org/svn/trunk/lib/rubygems/config_file.rb if RUBY_VERSION > '1.9' then SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'PLPLP', 'L', :stdcall ... else SHGetFolderPath = Win32API.new 'shell32', 'SHGetFolderPath', 'LLLLP', 'L' ... end Seems to show a difference in parameters between 1.9 and 1.8....anybody have any clue what is going on here?A little off topic, but this code from
Please, ask Ruby-core and the creator of Win32API-- Luis Lavena AREA 17 - Perfection in design is achieved not when there is nothing more to add, but rather when there is nothing more to take away. Antoine de Saint-Exupéry