Click to See Complete Forum and Search --> : Use Shell_NotifyIcom


April 8th, 1999, 02:44 PM
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?

Rob Wainwright
April 8th, 1999, 05:40 PM
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.