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

Date: 2005-06-09 11:01 pm (UTC)
From: [identity profile] tnatj.livejournal.com
Hee!

There used to be VB-supplied object(s) in VB5 & 6 that fired off event procedure(s) whenever something was changed on the Control Panel. I remember coding a bunch of stuff to correct for issues that occurred when changing the screen workspace size, etc. Very entertaining. The lesson was: "constants aren't."

I know nothing about VB.net, of course.

Date: 2005-06-10 03:58 am (UTC)
From: [identity profile] tigertoy.livejournal.com
It's Windows. You're supposed to reboot your computer every time you change a setting.

Profile

billroper: (Default)
billroper

February 2026

S M T W T F S
1 234567
891011121314
15161718192021
22232425262728

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Feb. 3rd, 2026 07:52 pm
Powered by Dreamwidth Studios