@crazyc : I'm trying to make the full change, but in the last addendum of 2 lines, assuming that these should be added inside extwaveOutOpen the variable ret is undefined. Instead, if they were to be added inside waveout_thread, the variable threadid would be undefined. The patch seems not compilable. Can you fix this?
Excellent, the patch worked allowing WSC2005 to run perfectly and also with no CD mounted. Things were a little more complicated when trying to run the game in window using DxWnd: the IAT is obfuscated, so I had to set "Mixed mode" hook, but then the game seems to refuse to stretch to the window size (see screenshot). This can be a no-problem since you can select a game resolution in a variety of sizes, so picking a higher resolution would allow a bigger window, but in any case this is a problem...
@crazyc : It is an interesting idea. If I understood it correctly, my solution just processes the WM_OPEN message in a separate thread, while yours instead processes all WM_ events in the separate thread. I'm going to test this solution with both "Princess Maker 3" and "Candyland Adventures" to see if it can be a valid generic replacement. I am a little worried of the GetMessage(&msg, NULL, 0, 0) because I fear it could steal messages from the main thread. Maybe a GetMessage(&msg, NULL, MM_WOM_OPEN,MM_WOM_DONE)...
It is an interesting idea. If I understood it correctly, my solution just processes the WM_OPEN message in a separate thread, while yours instead processes all WM_ events in the separate thread. I'm going to test this solution with both "Princess Maker 3" and "Candyland Adventures" to see if it can be a valid generic replacement. I am a little worried of the GetMessage(&msg, NULL, 0, 0) because I fear it could steal messages from the main thread. Maybe a GetMessage(&msg, NULL, MM_WOM_OPEN,MM_WOM_DONE)...
I'm going to try this ...
??? =8(
??? 8(
@Danni : grab the DxWnd update that fixes the game in window mode here: https://sourceforge.net/p/dxwnd/discussion/general/thread/61ec392aae/?page=1#2173 In attach my exported profile for the game.