noreply at rubyforge.org
2006-Aug-21 11:43 UTC
[Win32utils-devel] [ win32utils-Bugs-5479 ] Incorrect SetLastError declarations
Bugs item #5479, was opened at 2006-08-21 07:43 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) 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. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=5479&group_id=85
noreply at rubyforge.org
2006-Aug-21 13:30 UTC
[Win32utils-devel] [ win32utils-Bugs-5479 ] Incorrect SetLastError declarations
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: AcceptedPriority: 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
Reasonably Related Threads
- [ win32utils-Bugs-5479 ] Incorrect SetLastErrordeclarations
- [ win32utils-Bugs-8942 ] several typo in windows-pr.
- [ win32utils-Bugs-20722 ] Windows::Error.get_last_error only returns the first character (PATCH)
- Bug in win32-api with void prototypes?
- [ win32utils-Bugs-8039 ] Cannot send data that includes a binary 0