Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Windows Language
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00617356
Message ID:
00617432
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
>>SYS(3004) returns the VFP Locale ID. To return the Windows Local ID
DECLARE INTEGER GetSystemDefaultLCID IN Win32API
>>? GetSystemDefaultLCID()
English is 1033, French is 1036.
>
>Thanks! Do you know where I can get the list of values, since on my system I get 3084. My Windows is French-Canadian, though.

If you have the MSDN Library, do a search for "Table of Language Identifiers".

If you don't, look at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/intl/nls_238z.asp

The table shows the values in hex and shows, 0x0C0C for French-Candian, which is the hex representation of 3084.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform