欢迎来到Doc100.Net免费学习资源知识分享平台!
您的位置:首页 > 程序异常 >

对话框的实例化,错得莫明其妙

更新时间: 2014-01-05 02:40:03 责任编辑: Author_N1

 

对话框的实例化,错得莫名其妙
UI中的菜单代码:
void CTransferSMSAppUi::HandleCommandL(TInt aCommand)
{
switch( aCommand )
        {
        case EEikCmdExit:
        case EAknSoftkeyExit:
            Exit();
            break;
case ETransferSmsCommand1:
            {
iSmsEngine->SocketListen();
            }
            break;
case EAdd:
{
form = CDialogContactForm::NewL();  //添加以后提示错误
form->ExecuteLD(R_CONTACTFORM_DIALOG);

}
case EDelete:
{
//删除联系人
}
case EAbout:
{

}
break;
        default:
            Panic( ETransferSMSUi );
            break;
        }
}



RSS中的定义
RESOURCE DIALOG r_contactform_dialog
{
flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect | EEikDialogFlagWait | EEikDialogFlagCbaButtons; 
buttons = R_AVKON_SOFTKEYS_OPTIONS_BACK;
form = r_contact_form;
}

提示错误:总共33个T^T


Creation Time Description Resource Path Location Type
1305357005801 Undefined symbol: 'void CEikMenuPane::AddMenuItemsL(int, int, int) (?AddMenuItemsL@CEikMenuPane@@QAEXHHH@Z)' TransferSMS Unknown C/C++ Problem
1305357005802 Undefined symbol: 'void CEikDialog::PreLayoutDynInitL(void) (?PreLayoutDynInitL@CEikDialog@@MAEXXZ)' TransferSMS Unknown C/C++ Problem
1305357005803 Undefined symbol: 'class CCoeControl * CEikDialog::Control(int) const (?Control@CEikDialog@@QBEPAVCCoeControl@@H@Z)' TransferSMS Unknown C/C++ Problem
1305357005804 Undefined symbol: 'void CEikEdwin::SetTextL(class TDesC16 const *) (?SetTextL@CEikEdwin@@QAEXPBVTDesC16@@@Z)' TransferSMS Unknown C/C++ Problem
1305357005805 Undefined symbol: 'class CCoeControl * CEikDialog::ControlOrNull(int) const (?ControlOrNull@CEikDialog@@QBEPAVCCoeControl@@H@Z)' TransferSMS Unknown C/C++ Problem
1305357005806 Undefined symbol: 'void CEikEdwin::GetText(class TDes16 &) const (?GetText@CEikEdwin@@QBEXAAVTDes16@@@Z)' TransferSMS Unknown C/C++ Problem
1305357005807 Undefined symbol: 'void CEikBorderedControl::SetAdjacent(int) (?SetAdjacent@CEikBorderedControl@@UAEXH@Z)' TransferSMS Unknown C/C++ Problem
1305357005808 Undefined symbol: 'int CEikBorderedControl::HasBorder(void) const (?HasBorder@CEikBorderedControl@@UBEHXZ)' TransferSMS Unknown C/C++ Problem
1305357005809 Undefined symbol: 'void CEikDialog::HandleDialogPageEventL(int) (?HandleDialogPageEventL@CEikDialog@@UAEXH@Z)' TransferSMS Unknown C/C++ Problem






哪里错了呢????include???

纠结了一中午了,还是搞不懂哪里错了~~~~T^T



--参考方法--
上一篇:上一篇
下一篇:下一篇

 

随机推荐程序问答结果

 

 

如对文章有任何疑问请提交到问题反馈,或者您对内容不满意,请您反馈给我们DOC100.NET论坛发贴求解。
DOC100.NET资源网,机器学习分类整理更新日期::2014-01-05 02:40:03
如需转载,请注明文章出处和来源网址:http://www.doc100.net/bugs/t/12831/
本文WWW.DOC100.NET DOC100.NET版权所有。