Mihai
Sat Jan 14 00:49:27 CST 2006
> inside Regional and Language Options,
> How can I get the Language for non-unicode programs?
GetSystemDefaultLCID()
If you really want the language and not the locale (which I doubt),
you can use GetSystemDefaultLangID or LANGIDFROMLCID(GetSystemDefaultLCID())
Here is a nice summary for various locales settings:
http://www.microsoft.com/globaldev/reference/localetable.mspx
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email