Subject:
[ruby-ffi] Re: Using Windows Unicode functions
From:
rogerdpack
Date:
1/19/10 10:40 AM
To:
ruby-ffi

> t2.rb:32:in `message_box': string contains null byte (ArgumentError)
>   from t2.rb:32:in `<main>'
> -------------------------------------
> An UTF-16LE encoded string *contains* NUL bytes, I know--but I want to
> use Unicode functions, so: How to do that?

Try taking out the test for null byte and see if it "passes like a
champ"?
-r