Subject: [ruby-ffi] Re: Using Windows Unicode functions |
From: Quintus |
Date: 1/20/10 10:10 AM |
To: ruby-ffi |
I was thinking more of commenting out the line that throws the exception "string contains null byte"
That wouldn't make much sense, because then there wouldn't be any message box displayed. But that was the aim of my code... On 20 Jan., 15:48, Luis Lavena <luislav...@gmail.com> wrote:
I'm looking over libffi on how to handle LPCWSTR, as it should be defined as :wstring (wide string), similar to wchar (the wide version of char)
It would be great if you're successfull! In the meantime I'll continue to use the win32-api gem for the Unicode functions. Marvin