https://bugs.winehq.org/show_bug.cgi?id=49138
--- Comment #2 from Robbert van der Helm mail@robbertvanderhelm.nl --- Adding an explicit calling convention does indeed solve the issue for both yabridge and the example I posted here! I experimented a bit with the WinMain entry point function before with no success but somehow I never though of explicitly specifying the __cdecl calling convention on my regular main() function. Did the default calling convention change somewhere between Wine 5.6 and Wine 5.7?