>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).aspxdeclare integer GetUserDefaultUILanguage in kernel32
lang = bitand(0x3ff,GetUserDefaultUILanguage())
Then look in foxpro.h under * Primary language IDs.
Gregory