error LNK2001: 无法解析的外部符号 __imp__Shell_NotifyIconA@8

编译链接报错

error LNK2001: 无法解析的外部符号 __imp__Shell_NotifyIconA@8
解决方案:
在代码中添加链接库Shell32.lib
#pragma comment(lib, "Shell32.lib")

原文地址:https://www.cnblogs.com/vcerror/p/4289010.html