My failure
declare integer GetUserDefaultUILanguage in kernel32
lang = bitand(0x3ff,GetUserDefaultUILanguage())
sublang = bitand(0xFC00,GetUserDefaultUILanguage())
Then look in foxpro.h under * Primary language IDs.
>Hi Gregory!
>
>So this is LANG*
>and now SUBLANG?
>
>because the return of GetUserDefaultUILanguage is just 7 - Lang_GERMAN That willl include for example SUBLANG_GERMAN_LIECHTENSTEIN or SUBLANG_GERMAN what is a slight differnce :)
>
>Lutz
>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]