Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How determine OS language?

6 views
Skip to first unread message

Nickolay Belofastow

unread,
Apr 30, 1999, 3:00:00 AM4/30/99
to
Hello!

I am looking for an API function, which helps me to determine Windows
language. I mean not international settings/locale set by the user, but very
fundamental system language, which can't be changed (for German windows 98
it should be always German end so on).

Thanks in advance, best regards, Nickolay.

Michael Suodenjoki

unread,
Apr 30, 1999, 3:00:00 AM4/30/99
to
Hi Nickolay,

If I recall correctly you can find the Windows languages by examining the
language of the SHELL32.DLL in the system directory. Use the API functions
for retrieving version information - this also include a field for Language.

/Michael

Nickolay Belofastow <nickolay....@ccmail.eu.sony.co.jp> wrote in
message uaWBeIuk#GA.212@cppssbbsa03...

Azziz Mimouni

unread,
May 4, 1999, 3:00:00 AM5/4/99
to
use the api function


GetLocaleInfo(LOCALE_USER_DEFAULT,LOCALE_ILANGUAGE,szLangue,sizeof(szLangue)
);

choose the falgs param 2 and 3 according to the desired output

----------------------------------------
Azziz Mimouni
Analyst Programmer
Asian Localization Expert
amim...@bvrp.com
Tel: + (33) 6 13 78 75 24
----------------------------------------


Michael Suodenjoki wrote in message ...

0 new messages