Displaying 1 result from an estimated 1 matches for "regformat".
Did you mean:
reformat
2006 Mar 23
0
Win32API patch?
Hi all,
Passing a Fixnum when you should have passed a String (pointer) causes a
segfault in Win32API.
I''ve already reported this on RubyForge (Bug #3904):
require ''Win32API''
RegFormat = Win32API.new(''user32'', ''RegisterClipboardFormat'', ''P'', ''I'')
RegFormat.call(1) # Boom!
I''ve traced the error to line 194 in Win32API.c:
ret = ApiFunction(param);
Where ApiFunction is defined as:
FARPROC ApiFunctio...