此Blog是為了個人學習Windows 過程中,所做的資料收集,大部份內容為轉載或剪貼得來,倘若您認為「本網站」內容、圖案、超連結等侵害他人之著作權或不願意被連結,請留言通知站長,站長看到留言後會立即移除。

2009年12月21日 星期一

Service and Tray icon in Vista

http://social.msdn.microsoft.com/Forums/en-US/windowsgeneraldevelopmentissues/thread/b44124ea-0185-4fd6-b5c1-5f737b5f5982

I have a service which starts on bootup of my system and displays a tray icon in my toolbar. This works fine on XP but not on Vista. I am aware of the Session 0 Isolation and I believe this is the reason I cannot see the tray icon (service runs in session 0 and I am running session 1). The documentation that a way around this is to start another process from the service using CreateProcessAsUser.


CodeProject: Launch your application in Vista under the local ...
LaunchAppIntoDifferentSession()

沒有留言:

張貼留言

追蹤者