Version: 0.1.0 _(development)_
Operating System: Windows 10
Steps to reproduce:
cl_startupWindow: 1)Expected behaviour:
Crash dump:
https://www.dropbox.com/s/cbjj2behh0kasvs/OpenSpadesCrash29057218.dmp?dl=0
SystemMessages.log:
I didn't include it because it does not contain any useful information for this issue.
Additional information:

According to the debugger message, this might have been caused by a calling convention mismatch.
What about declaring GetUserDefaultLocaleName as __stdcall?
Most helpful comment
What about declaring GetUserDefaultLocaleName as __stdcall?