http://bugs.winehq.org/show_bug.cgi?id=15518
--- Comment #15 from Matej Spindler matej.spindler@auspuh.com 2009-06-05 12:01:40 --- Hello confirming for 1.1.22.
err:ntdll:RtlpWaitForCriticalSection happens here to with warcraft from time to time. But very rarely.
I found out something interesting today. With vanilla wine compiled by me I get gdi32.dll errors. BUT as soon as I compile wine with --disable-win16 i get different error:
with --disable-win16: err:module:attach_process_dlls "user32.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"Z:\home\matej\Igre\Warcraft III\war3.exe" failed, status c0000005
vanilla wine: err:module:attach_process_dlls "gdi32.dll" failed to initialize, aborting err:module:LdrInitializeThunk Main exe initialization for L"Z:\home\matej\Igre\Warcraft III\war3.exe" failed, status c0000005
Why do win16 binaries have any affect with 32bit applications is beyond my knowledge. But I hope someone else will know what's happening here.
I also tried some of the other games garena supports. All with the same problem. Dlls can't initialize. gdi32 with win16 and user32 without win16.
Games I tried: Warcraft 3, Counter-Strike 1.6, Counter-Strike_Source and KillingFloor.