Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Windows Language
Message
De
04/04/2014 04:43:30
 
 
À
04/04/2014 04:18:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01598017
Message ID:
01598027
Vues:
34
>Thank you very much. Exactly what I need
>
>Gerhard

No problem - I had this.

Sys(3004) is not reliable as far as I can see - it always returns 1033 (= install of foxpro, not the user's windows language)


>>>I look for a way to get the language of Windows from within my VFP 9 application.
>>>This is to give messages in a language depending on the user's language.
>>>
>>>TIA
>>>Gerhard
>>
>>see http://msdn.microsoft.com/en-us/library/windows/desktop/dd318137(v=vs.85).aspx
>>
>>
>>declare integer GetUserDefaultUILanguage in kernel32
>>
>>lang = bitand(0x3ff,GetUserDefaultUILanguage())
>>
>>Then look in foxpro.h under *  Primary language IDs.
>>
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform