非Unicode程序使用的语言 [英] Language used for Non-Unicode Programs
本文介绍了非Unicode程序使用的语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在通常情况下,请从控制面板"中选择区域和语言选项",然后选择高级"选项卡以注意非Unicode程序使用的语言"下使用的语言.
我的问题是如何通过C ++以编程方式检索非Unicode程序使用的语言"下使用的语言名称?
感谢进阶
M.H
In normal case from Control panel I select Regional and language Options and then to the Advance tab to note the language used under "Language used for Non-Unicode Programs"
my question is how to retrieve programmatically by C++ the language name used under "Language used for Non-Unicode Programs"?
Thanks in Advanced
M.H
推荐答案
尝试一下:):
Try it :) :
{
LCID lcId(0);
NtQueryDefaultLocale(FALSE, &lcId);
//...
}
...或尝试检查注册表项下默认"条目的依赖性:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Locale
...or try to check the dependency of the "Default" entry under the registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Locale
这篇关于非Unicode程序使用的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文