Namespaces
Variants
Actions

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

Jump to: navigation, search
文章信息

兼容于
平台: S60 3rd Edition and FP1

文章
关键词: GetLangVersion
翻译:
huwell
最后由 hamishwillee 在 15 Jun 2012 编辑
  • 详细描述

下列方法:

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 15 June 2012, at 05:17.
154 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved