up,up,up
这么点小问题没人帮我吗?

解决方案 »

  1.   

    我不知道有没有现成的API,不过可以通过TRegistry读取注册表来获取当前
    系统语言信息。具体注册表位置是:Key:   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls\Locale
    Item:  (默认)
    Value: 00000804 表示Chinese(PRC),说明是中文Win95
           00000409 表示美国英语,说明是西文Win95具体怎么使用TRegistry就不用我多说了吧?
      

  2.   

    Key:   HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Nls\Locale
    有两个 Defaul ,该怎么取?
      

  3.   

    GetOEMCP()
    返回值
    936 Chinese (PRC, Singapore)这是简体中文