IsValidLocale returns FALSE - how to overcome this?
Posted
by sharptooth
on Stack Overflow
See other posts from Stack Overflow
or by sharptooth
Published on 2009-06-25T09:14:28Z
Indexed on
2010/04/03
7:03 UTC
Read the original article
Hit count: 271
When run on a Spanish version of Windows XP my program invokes
LANGID langId = (LANGID) MAKELANGID( LANG_ENGLISH, SUBLANG_DEFAULT );
LCID locale = MAKELCID( language, SORT_DEFAULT );
BOOL isValid = IsValidLocale( locale, LCID_INSTALLED );
IsValideLocale() return FALSE when asked about English locale. Obviously something must be tuned in Windows to change this behaviour. What exactly should I do?
I understand that it's not completely a programming question but rather a deployment question. Still I think it will be better off here than anywhere else.
© Stack Overflow or respective owner