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:
00617450
Views:
26
>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.

Usually I think about checking the web before posting, but I guess my brain must be in Friday-mode! :)

With a little experimentation, I found that just checking the last 8 bits (values 1 through 128) would give me the "generic" language, but the page you've provided confirms my findings!

So BITAND(..., 255) returns 12 for French, and 9 for English.

Thanks again!
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform