Link problems about dialog

Login to reply to this topic.
Mon, 2005-08-08 02:14
Joined: 2005-08-04
Forum posts: 8
When I used dialog,I faced this problems:
SOUND error LNK2001: unresolved external symbol "protected: virtual int __thiscall CAudioInfoDlg::OkToExitL(int)" (?OkToExitL@CAudioInfoDlg@@MAEHH@Z)
SOUND error LNK2001: unresolved external symbol "protected: virtual void __thiscall CAudioInfoDlg::PreLayoutDynInitL(void)" (?PreLayoutDynInitL@CAudioInfoDlg@@MAEXXZ)
SOUND fatal error LNK1181: cannot open input file '\Symbian\6.1\NGageSDK2.5\EPOC32\BUILD\WORK\AUDIOVIDEOLIB\USELIB\GROUP\SOUND\WINS\UDEB\SOUND.exp'
SOUND fatal error U1077: 'link.exe' : return code '0x460'
I included eikdialg.h,and linked cone.lib,eikcore.lib,eikcoctl.lib,eikdlg.lib,eikctl.lib.The resource has no problems.So I don't know where is the problem?
Please help me,thank you!

Mon, 2005-08-08 04:01
Joined: 2003-04-01
Forum posts: 142
Re: Link problems about dialog
the "unresolved external symbo" errors are caused by the fact that the implementation for the class functions are not found. So check from the documentations which library needs to be included with the class. Add it to your mmp file, and rebuild the workspace.

yucca
Mon, 2005-08-08 15:41
Joined: 2005-03-31
Forum posts: 173
Re: Link problems about dialog
i guess it is eikdlg.lib
and u need to  makmake  mmp file to reflect changes
then build the project

  • Login to reply to this topic.