Bill Roper (billroper) wrote,
Bill Roper

Location, Location, Location

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.

Tags: microsoft, work

  • Fixing It Up

    I am embarking on a bit of code rearrangement at work, which -- if I can get it sorted out -- will simplify a lot of things that I need to do. As…

  • Follow the Bouncing Internet

    Apparently, some sort of accident cut the fiber circuit that supplies much of the Internet connectivity for the northwest suburbs. Our current…

  • Draft Day

    Today was our annual fantasy APBA baseball draft. We're playing on the computer (or with cards and dice) using player cards based on the 2020 season,…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded