On Mon Jan 16 15:59:30 2023 +0000, Gabriel Ivăncescu wrote:
Sure, I just don't know how to do it in a proper way. Is there a way to change the locale string (i.e. "3;0" for default English locale) without messing with the user's locale configuration in the registry? I'm talking about: [HKCU\Control Panel\International] "sGrouping"="3;0" Or do you think I should parse that value myself and then use a similar algorithm to compare the results? Or maybe there's an API I'm missing…
Didn't you say that the default "3;0" grouping is broken already?
In any case you can use SetLocaleInfo to change it, check how oleaut32:vartest does it.