Subject: [ruby-ffi] Re: puts example fails in doze |
From: rogerdpack |
Date: 12/11/09 5:22 PM |
To: ruby-ffi |
in windows, this code fails: require 'ffi' module Hello extend FFI::Library attach_function 'puts', [:string], :int end Hello.puts("Hello, World")
appears it needed an extra ffi_lib 'crtdll' in there. Now it works. phew! -r