[Bug libgcj/27797] win32.cc: FormatMessage fails on win98 for network messages

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 5 14:30:00 GMT 2006



------- 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



More information about the Gcc-bugs mailing list