Getting an error in making a simple diloag box

Login to reply to this topic.
Sun, 2008-01-27 12:37
Joined: 2007-09-19
Forum posts: 18

Hi,

I am a beginner in Symbian Programming and m trying to make a simple dialog box. The resource file is:
RESOURCE DIALOG r_example_dialog
{
title = "Information";

buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
flags=EEikDialogFlagWait;

items =
{
DLG_LINE
{
type=EEikCtLabel;
control=LABEL
{
standard_font=EEikLabelFontAnnotation;
txt="Not enough memory";
};
}
};
}

and I am getting the following 2 errors:

1)Undefined symbol: 'int CEikBorderedControl::HasBorder(void) const (?HasBorder@CEikBorderedControl@@UBEHXZ)' referenced from 'const CMyDialog::`vftable' (??_7CMyDialog@@6B@~)' in guiAppUi.o
2)Undefined symbol: 'void CEikBorderedControl::SetAdjacent(int) (?SetAdjacent@CEikBorderedControl@@UAEXH@Z)' referenced from 'const CMyDialog::`vftable' (??_7CMyDialog@@6B@~)' in guiAppUi.o

Please help..


Mon, 2008-01-28 08:24
Joined: 2005-04-13
Forum posts: 121
Re: Getting an error in making a simple diloag box

HI,

Make sure to add these 3 libraries to your mmp file as
avkon.lib
eikcoctl.lib
eikdlg.lib


Jupitar

Mon, 2008-01-28 09:59
Joined: 2007-08-29
Forum posts: 293
Re: Getting an error in making a simple diloag box

Hi swetha,

you can refer query example of SDk where you will get more information.


Thanks & Regards
Ram

Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++

Mon, 2008-01-28 14:20
Joined: 2007-09-19
Forum posts: 18
Re: Getting an error in making a simple diloag box

Thankyou for your suggestion.. now my errors are gone, but m havin a "System error" when i launch the application on the emulator..

Tue, 2008-01-29 07:04
Joined: 2005-09-16
Forum posts: 141
Re: Getting an error in making a simple diloag box

Hi,

What is the system error you are getting, and check the query example in SDK and refer documents related to dialog control.

regards,
eswar

  • Login to reply to this topic.