Subject:
Re: [ruby-ffi] Re: unable to find method?
From:
Luis Lavena
Date:
12/18/09 12:37 PM
To:
ruby-ffi@googlegroups.com

On Fri, Dec 18, 2009 at 3:24 PM, rogerdpack <rogerpack2005@gmail.com> wrote:
>> I guess, you need to use FindWindowA/FindWindowW variants, no?
>
> Any guesses as to how I can reliably detect which one of those to use?
> [or is ruby always wanting A...? if so, is there even a way to use W?]

W functions uses Wide characters, which are based on UTF16, not UTF8
that Ruby 1.9 can handle natively.

AFAIK: You will need to perform encoding conversions back and forth.

> Much thanks. Sorry for the flood.

You indeed produce a burst emails with questions when you are into
something, isn't? :D

Regards,
-- 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