Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Getting correct user LCID on XP with French LP selected
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jan M  
View profile  
 More options Jun 2 2010, 6:43 am
Newsgroups: microsoft.public.win32.programmer.international
From: "Jan M" <ja...@jerseymail.co.uk>
Date: Wed, 2 Jun 2010 11:43:11 +0100
Local: Wed, Jun 2 2010 6:43 am
Subject: Re: Getting correct user LCID on XP with French LP selected

Hi Mihai,

Thanks for your reply.

My executable is a Windows Installer (MSI) "Custom Action".

From my research it appears that with a custom action spawned by MSI, GetUserDefaultLCID() and
GetUserDefaultUILanguage() return the country code of the .msi file not the users locale or language.

Running the executable as opposed to spawning from MSI results in the correct country code being returned.

Regards,

Jan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.