Hi again Piotr and thanks for taking a look at this!
I've created attachments with the two .exe's (compiled with VS2019 and mingw) and winedumps for both.
I updated the source of the test program slightly to make it clearer and to make it clean up. I accidentaly added the source as a comment (comment #2) but it's also there as an attachment too, so just disregard comment #2.
Cheers, Ted
Den 2021-10-08 kl. 13:04, skrev Piotr Caban:
Hi Ted,
I don't know all the options you have used while compiling the executable. I guess you might be linking to different version of runtime in mingw case.
Let's move the discussion to the bug (https://bugs.winehq.org/show_bug.cgi?id=51846).
Thanks, Piotr