G
Gunter W
I've searched through all the postings and have not found the
recommended way
to change ONLY the non-unicode language ID programatically.
I've tracked down the registry value that holds the non-unicode
language ID
\HKLM\SYSTEM\\CurrentControlSet\\Control\\Nls\\Language
and when I modify this and reboot it works most of the time.
The problem is sometimes after the reboot I get the error message
file is missing or corrupt
\WINDOWS\system32\config\SYSTEM
I've traced what registry changes occur when I modify the value
through the Control Panel, but there are mods made all over the place,
and capturing all of this and putting in my source code would probably
not work for very long with changes/updates to the OS.
There doesn't seem to be any API's (ie NLS) available that lets you
change this value directly.
I've also noticed a program called AppLocale,
http://www.microsoft.com/globaldev/tools/apploc.mspx
that sets the language for a particular application.
This would work for me if there was an API for this program instead of
just
the GUI frontend.
Does anyone have any ideas/sugesstions?
recommended way
to change ONLY the non-unicode language ID programatically.
I've tracked down the registry value that holds the non-unicode
language ID
\HKLM\SYSTEM\\CurrentControlSet\\Control\\Nls\\Language
and when I modify this and reboot it works most of the time.
The problem is sometimes after the reboot I get the error message
file is missing or corrupt
\WINDOWS\system32\config\SYSTEM
I've traced what registry changes occur when I modify the value
through the Control Panel, but there are mods made all over the place,
and capturing all of this and putting in my source code would probably
not work for very long with changes/updates to the OS.
There doesn't seem to be any API's (ie NLS) available that lets you
change this value directly.
I've also noticed a program called AppLocale,
http://www.microsoft.com/globaldev/tools/apploc.mspx
that sets the language for a particular application.
This would work for me if there was an API for this program instead of
just
the GUI frontend.
Does anyone have any ideas/sugesstions?