Re: Something Cool About Vista
My problem is that MFC uses FindResource() rather than FindResourceEx() so
it really only finds the default resources in the EXE (thus English would
appear regardless of the language I had set in XP). Somehow on Vista the
langauge I set in the Regional Settings causes the correct resources to be
used in my EXE. In the old days we used to build all of our resources into
the EXE and use SetThreadLocale() to switch, but that stopped working in
Win2K and WinXP. I haven't tried that trick again, but I don't need it now
since it selects the correct language at runtime.
Tom
"Norman Diamond" <ndiamond@community.nospam> wrote in message
news:%23kbi4RFxHHA.4612@TK2MSFTNGP04.phx.gbl...
Language packs (after being installed) can be selected separately from the
system default locale. Selection of a language pack is per-user and only
requires the user to logout and login again to be effective. Changing the
system locale still has effects in the kernel and other places, and
requires a reboot.
Come to think of it, the work that Mr. Serface is doing really should only
depend on the user's selected locale in the left-most tab of the Regional
Options settings. That kind of stuff should never have depended on either
the system locale or a language pack.