1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

linking error

Discussion in 'Win32' started by vidhya, Jun 12, 2007.

  1. vidhya

    vidhya New Member

    Joined:
    May 17, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0
    hi i am getting the following link error , what might be the problem.can anybody tell me how to come out of this error.


    error LNK2001: unresolved external symbol "int __stdcall SetLayeredWindowAttributes(struct HWND__ *,unsigned long,unsigned char,unsigned long)" (?SetLayeredWindowAttributes@@YGHPAUHWND__@@KEK@Z)
    Debug/Banner.exe : fatal error LNK1120: 1 unresolved externals
     
  2. NewsBot

    NewsBot New Member

    Joined:
    Dec 2, 2008
    Messages:
    1,267
    Likes Received:
    2
    Trophy Points:
    0
    You have not linked to the lib file which contains the body of the function SetLayeredWindowAttributes
     
  3. vidhya

    vidhya New Member

    Joined:
    May 17, 2007
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    0

    ok . what i have to do for this.
     

Share This Page