--- On Thu, 20/5/10, Saulius Krasuckas <sauli...@ar.fi.lt> wrote:
> > > 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: > > 1) 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. Tried that - the binary differs by 6 bytes - just timestamp and checksum. So using native msvcrt in vcrun6 has no effect.