关于StringLoader::LoadLC的问题
在appui.cpp的HandleCommandL函数中写到:
HBufC* textresource=StringLoader::LoadLC(R_TIMER_CMDRUN_TEXT);
但是在编译时报错:
TEST1 error LNK2019: 无法解析的外部符号 "public: static class HBufC16 * __cdecl StringLoader::LoadLC(int,class CCoeEnv *)" (?LoadLC@StringLoader@@SAPAVHBufC16@@HPAVCCoeEnv@@@Z) ,
该符号在函数 "private: virtual void __thiscall Ctest1AppUi::HandleCommandL(int)" (?HandleCommandL@Ctest1AppUi@@EAEXH@Z) 中被引用
TEST1 fatal error LNK1120: 1 个无法解析的外部命令
=======================
已经包含了StringLoader.h,
仔细看了SDK自带的例子,好像在使用StringLoader::LoadLC时没有什么特别要注意的地方,
但是为什么会在Link时出错呢。
使用 symbian 60 2nd Edition SDK,VS.net
请高手指点