Subject: [ruby-ffi] Re: Using Windows Unicode functions |
From: Quintus |
Date: 1/23/10 11:34 AM |
To: ruby-ffi |
I couldn't find this line, so I suppose it's implemented in the C source via rb_raise. Since I don't want to compile ffi myself on Windows, I'll stick to win32-api for now. Marvin On 20 Jan., 19:58, rogerdpack <rogerpack2...@gmail.com> wrote:
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...that is, commenting out the line that says #raise "string contains null byte" in the guts of ffi. -r