http://bugs.winehq.org/show_bug.cgi?id=9849
--- Comment #2 from Dmitry Timoshkov dmitry@codeweavers.com 2008-11-17 03:25:30 --- Attached foo.exe returns with status 0 under XP SP3 in the following test.bat file:
<quote> rem foo32.exe foo.exe if ERRORLEVEL == 1 goto error echo 0 exit :error echo 1 </quote>
while foo32.exe which only does ExitProcess(1) in its main() prints 1.
Dan, how did you test this under XP?