刚学S60开发,请问如何把资源文件中定义的字符串数组内容循环读出来
资源文件定义:
RESOURCE ARRAY r_catlist_list_array
{
items =
{
LBUF { txt = "0\t京A 北京市 ";},
LBUF { txt = "0\t京B 北京市(出租车) ";},
LBUF { txt = "0\t津A 天津市 ";},
LBUF { txt = "0\t冀A 石家庄市 ";},
}
}
[解决办法]
CDesCArray *iKeyArray = CEikonEnv::Static()-> ReadDesCArrayResourceL( R_CATLIST_LIST_ARRAY );