http://bugs.winehq.org/show_bug.cgi?id=46255
Janne janne.kekkonen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |janne.kekkonen@gmail.com
--- Comment #6 from Janne janne.kekkonen@gmail.com --- Applied patch to Wine10.12 and build it.
File c:\temp\test.txt do not exist. File c:\temp\test2.txt exists and it contains some text.
Here is output from application run in Wine.
WINEPREFIX=~/wine64 WINEARCH=win64 ~/wine64/wine --version
wine-10.12-91-ge44737278a4
WINEPREFIX=~/wine64 WINEARCH=win64 ~/wine64/wine beginupdate.exe
Ret val:0 LastError:2 Ret val:0 LastError:2 Ret val:0 LastError:87
Here is output or run in Windows11.
ver
Microsoft Windows [Version 10.0.26100.4652]
beginupdate.exe
Ret val:0 LastError:2 Ret val:0 LastError:193 Ret val:0 LastError:87
In step 2. there should be error code: ERROR_BAD_EXE_FORMAT returned by GetLastError.