https://bugs.winehq.org/show_bug.cgi?id=39706
Bug ID: 39706 Summary: Gazillionaire refuses to start Product: Wine Version: 1.8-rc2 Hardware: x86 URL: http://web.archive.org/web/20051230143410/http://www.l avamind.com/download.html OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: user16 Assignee: wine-bugs@winehq.org Reporter: julliard@winehq.org CC: sagawa.aki+winebugs@gmail.com Blocks: 34308 Regression SHA1: 9ac7bca209e1b11af898d1b393d13c8dc92c66e1 Distribution: ---
Trying to reproduce bug 34308, I found out that Gazillionaire fails to start in current Wine. It shows an error saying "Failed to open graphics server. GSW.EXE must be available via the DOS path".
This is a regression caused by:
commit 9ac7bca209e1b11af898d1b393d13c8dc92c66e1 Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Mon Aug 3 23:48:47 2015 +0900
user.exe: Release the Win16 lock due to loading 32-bit dlls in CreateWindow.
The app calls WinExec("GSW.EXE"), but because the Win16 lock is released upon CreateWindow, it doesn't wait for GSW.EXE to have initialized its window correctly. Before the change, the lock would be held until the first GetMessage call.