* On Thu, 20 May 2010, Matijn Woudt wrote:
On Thu, May 20, 2010 at 3:54 AM, Hin-Tak Leung hintak_leung@yahoo.co.uk wrote:
I have gone ahead and done exactly that - the correct behavior should be a msg box saying filelist.txt is missing, rather than setupgs.exe not a valid win32 application.
http://www.ghostscript.com/~hintak/setupgs-vista.exe http://www.ghostscript.com/~hintak/setupgs-wine.exe
There are a few differences I spotted between the two executables:
- setupgs-wine.exe has wrong image size, changing it from 0x2b200 to
0x2b000 makes the executable working under win7. 2) setupgs-wine.exe has wrong resource size, probably related to 1), because the size of both executables are the same. 3) The assembly in setupgs-wine.exe has only LF line endings, vista has CRLF. This explains 2).
I don't know the reason for 3), I assume it's a bug somewhere in wine.
Thus it could be a fault in Wine's msvcrt.dll (or the like: msvcr?0.dll).
To check this, it would be nice to run "winetricks vcrun6", recomple the app in Wine and see if the resulting exe run OK on Vista.
S.