The latest documentation I'm using - which accompanied VS2005 (must update
this...) says that for GetSystemDefaultLangID, "[t]he return value is the
language identifier of the system locale". Which I think means it's the
result of using the LANGIDFROMLCID macro on the return value of
GetSystemDefaultLCID.

That value is the system default locale identifier, which can be changed by
the user on the Advanced tab of Regional and Language Options (in Windows XP
and Server 2003), where it is called 'Language for non-Unicode programs'.

See for example http://blogs.msdn.com/michkap/archive/2005/03/25/402313.aspx
for what GetSystemDefaultUILanguage is, and
http://blogs.msdn.com/michkap/archive/2005/04/08/406413.aspx for what all
the other 'defaults' are. And see also
http://www.microsoft.com/globaldev/reference/localetable.mspx for all the
meanings of 'locale'.

Anyone serious about international coding should be reading Michael Kaplan's
blog.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Richard
Sent: 22 October 2007 22:27
To: WiX Users
Subject: Re: [WiX-users] Operating System language detection


In article <[EMAIL PROTECTED]>,
    "Mike Dimmick" <[EMAIL PROTECTED]>  writes:

> GetSystemDefaultUILanguage, I think.

Hmm!  I wonder how that is different from GetSystemDefaultLangID and
when they would return different values?
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to