cannot create shell notification icon解决思路

cannot create shell notification iconTrayIcon1- Visible true当设置托盘显示的时候,就报错cannot c

cannot create shell notification icon
TrayIcon1-> Visible = true;
当设置托盘显示的时候,就报错cannot create shell notification icon.

此情况发生在:application server 框架的应用程序的托盘上面.

另外此时 FindWindow("Shell_TragWnd","") 返回的句柄为空。

求解决方案。
 

[解决办法]
interactive 这个属性设置了么?