https://bugs.winehq.org/show_bug.cgi?id=38627
--- Comment #10 from Dmitry Timoshkov dmitry@baikal.ru --- (In reply to Dmitry Timoshkov from comment #9)
vBase90.dll: int var_to_test; thread_proc() { for(;;) WaitForSingleObject(hevent, INFINITE); var_to_test = 1; }
Of course the line for(;;) WaitForSingleObject(hevent, INFINITE); should be WaitForSingleObject(hevent, INFINITE);