CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Use Shell_NotifyIcom

    Try to use Shell_NotifyIcon, got following error:

    Microsoft (R) Program Maintenance Utility Version 1.62.7022
    Copyright (C) Microsoft Corp 1988-1997. All rights reserved.

    Microsoft (R) 32-Bit Incremental Linker Version 5.10.7303
    Copyright (C) Microsoft Corp 1992-1997. All rights reserved.
    error LNK2001: unresolved external symbol __imp__Shell_NotifyIconA@8

    NMAKE : fatal error U1077: '"C:\Program Files\DevStudio\VC\BIN\link.exe"' : return code '0x460'
    Stop.
    Error executing NMAKE.


    What's this mean? I've already included:
    <windows.h> and <shellapi.h>
    What's missing?



  2. #2
    Join Date
    May 1999
    Posts
    69

    Re: Use Shell_NotifyIcom

    Although you are including the correct header files for the Shell_NotifyIcon function to be compiled, the error being raised is that the code is not able to find the correct object file. Check the link options on the project actually includes the .lib file specified for the Shell API.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured