error LNK2001: unresolved external symbol

Login to reply to this topic.
Fri, 2006-04-28 05:08
Joined: 2005-11-28
Forum posts: 18
Hi guys,
  I have one application, i run it, but there are some errors:

   error LNK2001: unresolved external symbol "int __cdecl QueryMessageL(void)" (?QueryMessageL@@YAHXZ)
SMSExampleAppui.obj : error LNK2001: unresolved external symbol "int __cdecl GetAddressL(void)" (?GetAddressL@@YAHXZ)
C:\Symbian\7.0s\Series60_v21\\Epoc32\release\wins\udeb\z\\system\apps\SMSExample\SMSExample.app : fatal error LNK1120: 2 unresolved externals

  I really do not know how to solve it. Any bodu can help me?
   Thanks

Fri, 2006-04-28 05:53
Joined: 2005-11-20
Forum posts: 1246
Re: error LNK2001: unresolved external symbol
Two methods 'QueryMessageL' and 'GetAddressL' are declared and used but not implemented.

If you wrote this 'SMSExample' yourself: Implement these two missing methods.

If you modified example code: Could it be that you deleted/renamed something that you should not?

If these 2 methods are supposed to be part of the Symbian API: I could not find something like these methods in the SDK documentation. Maybe the methods have other names?

René Brunner

Mon, 2006-05-01 12:46
Joined: 2005-11-28
Forum posts: 18
Re: error LNK2001: unresolved external symbol
 Thanks rbrunner,

  Yes. I did modified it from SMSEXample which i get from the website. I added some codes for  partword part. Without the password codes, there is no error.
 
    I added password part in the AppUi.cpp under the Handle command part
   I do not know why i get those errors
Tue, 2006-05-02 08:09
Joined: 2005-03-15
Forum posts: 94
Re: error LNK2001: unresolved external symbol
The library files are missing, include the relevant .lib file in your project .mmp file and then import the project again or do the makmake again.

Vivek

Vivek Chopra

  • Login to reply to this topic.