Jun. 9th, 2005

billroper: (Default)
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
billroper: (Default)
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

May 2026

S M T W T F S
      1 2
3456789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 3rd, 2026 08:36 am
Powered by Dreamwidth Studios