https://bugs.winehq.org/show_bug.cgi?id=49653
--- Comment #10 from Fabian Maurer dark.shadow4@web.de --- Created attachment 67934 --> https://bugs.winehq.org/attachment.cgi?id=67934 WIP Patch
Attaching a WIP patch, that makes the program respect the iMeasure setting from the registry, and also the locale from LC_ALL.
Thanks for the bugreport and samples, you made debugging this pretty easy. Problem is, that GetPrivateProfileStringA/W also need to search the registry.
See msdn: https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getpri... (Paragraph "The profile functions use the following steps to locate initialization information")
I'll work on a proper implementation with tests soon, in the meantime you can use the WIP patch.