https://bugs.winehq.org/show_bug.cgi?id=35652
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW URL| |http://download.aeriagames. | |com/files/games/us/auraking | |dom/csd/aurakingdom_us_down | |loader.exe CC| |focht@gmx.net Component|-unknown |user32 Summary|Aura Kingdom Will Not Start |Aeria Games 'Aura Kingdom' | |MMORPH launcher crashes on | |startup | |('DIALOG_CreateIndirect' | |needs to trigger WM_PAINT, | |missing 'UpdateWindow') Ever confirmed|0 |1
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming.
I lost my analysis here due to Firefox crash (writing half an hour into the comment field) hence you only get the short version now.
The launcher uses 'CreateDialogIndirectParamW' to create a dialog and crashes shortly after. It expects a redraw/paint handler to be called inside dialog creation. Wine doesn't do this, only calling 'ShowWindow' (which doesn't trigger repaint).
Any WM_USER after the dialog creation triggers a crash because some instance data is missing which ought to be allocated in paint handler.
I added an 'UpdateWindow' call directly after 'ShowWindow' in 'DIALOG_CreateIndirect' to trigger the paint message and it made the launcher work.
Source: http://source.winehq.org/git/wine.git/blob/1e5328c77c861e163081b5e084b648bc6...
$ sha1sum aurakingdom_us_downloader.exe b31bb993d30e87f59b6c211bacd49eb610075f8a aurakingdom_us_downloader.exe
$ du -shL aurakingdom_us_downloader.exe 572K aurakingdom_us_downloader.exe
$ wine --version wine-1.7.22
Regards