billroper: (Default)
[personal profile] billroper
After considerable thrashing about, I've determined that Microsoft's setlocale() function caches the current user locale so it doesn't look it up again if you go and change it in the Control Panel while an application is running. I now know how to assemble the correct locale string and pass it to setlocale() so that the locale is changed correctly, but this is completely undocumented.

gack

Profile

billroper: (Default)
billroper

March 2026

S M T W T F S
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 2021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 21st, 2026 06:25 pm
Powered by Dreamwidth Studios