PDA

View Full Version : GetSystemInfo gets tricked



wleara
08-27-2003, 06:50 PM
I use:

GetSystemInfo(LANGUAGE, bOpt1, szOption1);

to determine the OS language in WinXP. Unfortunately, if the user goes to:

Ctrl Panel/Regional and Language Options/Advanced tab

and changes the "Language for non-Unicode programs" field, InstallShield 6.31 will not detect the real OS language, but will detect whatever the user selects in this field.

Is there any way around this? I want InstallShield to detect the OS language, no matter what options are changed in the "Regional and Language Options" applet.

Thanks!

William
wleara@hotmail.com