This was triggered by another question I was looking at. It might be too long to read, so please bear with me. Apparently, CoWaitForMultipleHandles does not behave as documented on MSDN. The code below (based upon the original question) is a console app, which starts an STA thread with a [...] read more
Environment: xUbuntu 18.04.4 LTS x64 wine-stable 5.0.0~bionic amd64 (winehq-stable + wine-stable-amd64 + wine-stable-i386:i386) WINETRICKS_VERSION=20191224 (under wine WINEARCH=win32 + Visual Studio Express 2008 SP1 ENG(https://archive.org/details/vs2008sp1) + dotnet35sp1 (was installed by winetrick)) In VS I created a Windows Forms Application -> build -> debug, and at this step I got the error [...] read more