Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

为何在模拟器中调用SysUtil::GetLangVersion()报告失败

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
文章
关键词: GetLangVersion
翻译:
huwell
最后由 hamishwillee 在 30 May 2013 编辑
  • 详细描述

下列方法:

static TInt SysUtil::GetLangVersion( TDes &aValue )

在S60第三版模拟器上执行时,总是返回-1错误(KErrNotFound)


  • 解决方法

这是因为模拟器缺少了一个包括当前已安装语言包信息的文本文件。


该文件正确的路径及名称应为:

<SDK_Install_Path>\epoc32\release\winscw\udeb\z\resource\versions\lang.txt


这里提供一个附件Media:Winscw_resource_lang.zip‎,其中包含了缺少的文件,解压后将其拷贝在SDK安装文件夹中即可,如:

C:\Symbian\9.1\S60_3rd_MR

This page was last modified on 30 May 2013, at 03:20.
110 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×