Location, Location, Location
Jun. 9th, 2005 05:53 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
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
gack
no subject
Date: 2005-06-09 11:01 pm (UTC)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.
no subject
Date: 2005-06-10 03:58 am (UTC)no subject
Date: 2005-06-10 02:47 pm (UTC)