On Fri Feb 17 06:31:23 2023 +0000, Alex Henrie wrote:
Interesting, thank you for pointing me to that bug report. Knowing that multiple applications expect msvcrt to be loaded automatically when loading a system DLL, why does Wine use ucrtbase for system DLLs at all? More importantly, how can I know which of the two I should use when implementing Wine DLLs? I found commit 05b774fb48dac5f412e3490313c6e70199013568, but there was no explanation in the commit message. @jacek?
I don't remember why it was done like that, maybe for testing purposes, maybe there is some connection to mingw-w64. Tests are built with msvcrt, so that we can run them on any clean Windows installation. You don't have to know which one to use, as long as you use common subset that both crts provide.