Subject: [ruby-ffi] lists only one lib? |
From: rogerdpack |
Date: 12/18/09 12:11 PM |
To: ruby-ffi |
For my curiosity... Currently with this snippet: ffi_lib 'user32' ffi_lib 'msvcrt' attach_function 'FindWindow', [ :string, :string], :pointer I get this response #<FFI::NotFoundError: Function 'FindWindow' not found in [msvcrt]> Function 'FindWindow' not found in [msvcrt] Is it expected for that to be [msvcrt] and not [msvcrt, user32]? Also would it be conceivably possible to have a verbose mode that outputs.. #<FFI::NotFoundError: Function 'FindWindow' not found in [msvcrt]> Function 'FindWindow' not found in [msvcrt] possible options are: [FindWindowA, FindWindowExA, FindWindowW, AlignRects...] Just wondering. Thanks. -r