GetLocaleInfo() API returns InvariantLanguage(InvariantCountry) in Windows 7 on WoW64 environment RRS feed

  • Question

  • Hi All,

    I have an MFC Application in VC++ which displays all the languages from Windows 7 OS . In order to achieve the same i am using ::GetLocaleInfo() API . In Windows7, ::GetLocaleInfo() API returns one of the language as "Invariant Language(Invariant Country)" while no such language is returned by this API in windows XP. There is no language named 'InvariantLanguage(InvariantCountry)' in Windows 7 OS.

    Can anybody please let me know as to why ::GetLocaleInfo() API returns "Invariant Language(Invariant Country)" in Windows 7 on WoW64 environment when it is not present in Windows 7 OS.

    Thanks & Regards,

    Deepak Mathur

    Monday, February 7, 2011 1:24 PM


All replies