Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do i know the language of Window OS
Message
From
17/12/2002 05:28:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/12/2002 05:12:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00733564
Message ID:
00733569
Views:
17
>Hi, ereryone
>
>I using VPF6, how can i know what language of Window OS was running.
>
>i try to find the OS of English, Chinese (T), Chinese (Simple) ??

You could use winAPI.

DECLARE integer GetUserDefaultLangID IN win32API
DECLARE integer GetSystemDefaultLangID IN win32API
? GetUserDefaultLangID(), GetSystemDefaultLangID()


0x0404 Chinese (Taiwan)
0x0804 Chinese (PRC)
0x0c04 Chinese (Hong Kong SAR, PRC)
0x1004 Chinese (Singapore)
0x1404 Windows 98/Me, Windows 2000/XP: Chinese (Macau SAR)

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform