[Win32utils-devel] [ win32utils-Bugs-5479 ] Incorrect SetLastError declarations

noreply at rubyforge.org noreply at rubyforge.org
Mon Aug 21 09:30:21 EDT 2006


Bugs item #5479, was opened at 2006-08-21 04:43
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85

Category: None
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 3
Submitted By: Nobody (None)
>Assigned to: Daniel Berger (djberg96)
Summary: Incorrect SetLastError declarations

Initial Comment:
windows-pr-0.5.3
lib\windows\error.rb
    SetLastError   = Win32API.new('kernel32', 'GetLastError', 'L', 'V')
    SetLastErrorEx = Win32API.new('kernel32', 'GetLastError', 'LL', 'V')

Should import SetLastError instead of GetLastError.


----------------------------------------------------------------------

>Comment By: Daniel Berger (djberg96)
Date: 2006-08-21 06:30

Message:
Thanks.  Fixed in CVS and will be released as part of 0.5.4.

- Dan

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85


More information about the win32utils-devel mailing list