开始学symbian,例子不管用了。怎么回事啊?
vs2003,symbian 9.2;
运行程序S60_Platform_Video_Example_v2_0_en.zip,就是crex这个程序。
编译出现了问题。
D:\\Symbian\\9.2\\project3rd\\VRex\\data\\VRex_reg.rss(22) : Cannot convert "R_LOCALISABLE_APP_INFO" to a number.
代码如下:
//VRex_reg.rss
#include <appinfo.rh>
#include <vrex.rsg>
UID2 KUidAppRegistrationResourceFile
UID3 0xEEF9CA30
RESOURCE APP_REGISTRATION_INFO
{
app_file="vrex";
localisable_resource_file = "\\resource\\apps\\VRex";
localisable_resource_id = R_LOCALISABLE_APP_INFO;
embeddability=KAppNotEmbeddable;
newfile=KAppDoesNotSupportNewFile;
}
//vrex.rss
ESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
{
short_caption = STRING_short_caption;
caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption=STRING_r_long_caption;
number_of_icons = 1;
icon_file = "\\resource\\apps\\VRex.mif";
};
}
//mmp文件
SOURCEPATH ..\data
START RESOURCE VRex.rss
HEADER
TARGETPATH \resource\apps
END
START RESOURCE VRex_reg.rss
TARGETPATH \private\10003a3f\apps
END