search for: getlasterrorb

Displaying 1 result from an estimated 1 matches for "getlasterrorb".

Did you mean: getlasterror
2007 Sep 25
2
Bug in win32-api with void prototypes?
...):003:0> require ''Win32API'' => true # Our version irb(main):004:0> GetLastErrorA = API.new(''GetLastError'', ''V'', ''L'', ''kernel32'') => #<Win32::API:0x2db6314> # Old version irb(main):005:0> GetLastErrorB = Win32API.new(''kernel32'', ''GetLastError'', ''V'', ''L'') => #<Win32API:0x2db0518> # Ours fails with no arguments irb(main):006:0> GetLastErrorA.call ArgumentError: wrong number of parameters: expected 1, got 0...