RSS
热门关键字:
当前位置 : 主页>嵌入式开发>VxWorks>列表

Symbian中如何操作ini文件

来源:我要研发网 作者: 时间:1970-01-01 点击:



void CMyUi::ConstructL() {
BaseConstructL();
RFs fileSession = Document()->Process()->FsSession();
CDictionaryStore* store = Application()->OpenIniFileLC(fileSession);
if (store->IsPresentL(KKey1Uid)) {
RDictionaryReadStream in;
JAVA手机网[www.cnjm.net] in.OpenLC(*store, KKey1Uid);
in >> *iMyConfig;
CleanupStack: opAndDestroy();
JAVA手机网[www.cnjm.net]} else {
iMyConfig->SetDefault();
RDictionaryWriteStream out;
JAVA手机网[www.cnjm.net] out.AssignLC(*store, KKey1Uid);
out << *iMyConfig;
JAVA手机网[www.cnjm.net] out.CommitL();
CleanupStack: opAndDestroy();
store->CommitL();
}
CleanupStack: opAndDestroy();
//...
}
最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
相关文章