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

May 2025

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 20 21 22 23 24
25 26 27 28293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 29th, 2025 08:32 am
Powered by Dreamwidth Studios
OSZAR »