How to get LCID from string like "en-US"?
I know about GetLocaleInfoEx function, but it doesn't work on windows XP.
Can I get LCID from CRT locale?
UPD: Can I convert between LCID and CRT locale (created by _create_locale function)? CRT locale may be created by _create_locale and string - Locale name.
http://msdn.microsoft.com/en-us/library/aa741018%28v=vs.85%29.aspx
Seems to go back as far as IE 4.0, so you should be OK on XP.