开发者

Does a system tray app only work when a user is logged in?

开发者_StackOverflow中文版

My system tray application only work when any user is logged in. I want that it should run all the time irrespective to user login. should i change the approach.


If you want an application to run without requiring a user to be logged in, use a Windows Service (assuming your question refers to Windows).


Right approach for such application is to have a system service with a business logic and a "tray" application used for notifications and other user interaction. The reason is that system service can't talk to the user (without certain tricks which are limited and not always suitable).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜