[PATCH 2/2] winmm: Use a thread to send driver messages on Win9x (try 2)

Andrew Eikum aeikum at codeweavers.com
Thu Dec 1 11:29:44 CST 2016


On Thu, Dec 01, 2016 at 02:24:38PM -0200, Bruno Jesus wrote:
> No, manually setting compatibility is not required in XP (that is why
> IMO its is a shim, more below). Just the game installer needs
> compatibility or it complains about unsupported OS.
> 
> I could not find any way to disable SuspendThread, I tried it back in
> [1] but got no replies, internet also did not help me at this subject.
> 
> [1] https://www.winehq.org/pipermail/wine-devel/2015-November/110308.html
> 
> To prove my point at [2] (source at [3]) there is a winmm_crosstest
> that calls SuspendThread inside the callback. If you run this at
> Windows >= XP it will get stuck. If you turn compatibility mode on it
> will pass as if nothing was called (tested on XP and 8).
> 
> [2] http://alexa.pro.br/~bruno/wine/winmm_crosstest.exe
> [3] http://alexa.pro.br/~bruno/wine/winmm.txt
> 

If the game works without compat mode, but your test doesn't, then
there must be something else going on here. I wish we understood
better why it works.

Andrew



More information about the wine-devel mailing list