This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/27797] win32.cc: FormatMessage fails on win98 for network messages
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jun 2006 14:23:56 -0000
- Subject: [Bug libgcj/27797] win32.cc: FormatMessage fails on win98 for network messages
- References: <bug-27797-7936@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tromey at gcc dot gnu dot org 2006-06-05 14:23 -------
In this case won't the first failing FormatMessage change
the current error, so the next GetLastError will always
return the overwritten value? The MSDN docs seem to indicate
that if FormatMessage fails, you can use GetLastError to find
out why...
Or maybe that is the intent?
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tromey at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2006-06-05 14:23:56
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27797