Subject:
Re: [ruby-ffi] unable to find method?
From:
Vladimir Sizikov
Date:
12/18/09 2:25 AM
To:
ruby-ffi@googlegroups.com

Hi Roger,

I guess, you need to use FindWindowA/FindWindowW variants, no?

Thanks,
  --Vladimir

On Fri, Dec 18, 2009 at 1:28 AM, rogerdpack <rogerpack2005@gmail.com> wrote:
> Perhaps I'm missing something here...
>
> require 'ffi'
>
> module Hello
>  extend FFI::Library
>  ffi_lib 'user32'
>  attach_function 'FindWindow', [ :string, :string], :pointer # blows
> up
> end
>
> ref: http://msdn.microsoft.com/en-us/library/ms633499(VS.85).aspx
>
> What might it be...?
> -r
>