Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Windows Language
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00617356
Message ID:
00617432
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform