![]() |
#1
|
|||
|
|||
![]()
In xp/2003, when the service app starts, the trayicon will be visible, however in win7, the same application, the trayicon is missing, could you tell me how to solve the problem, thank you very much!
|
#2
|
|||
|
|||
![]()
Yesterday my car started, however this morning it didn't... The same car, but it doesn't spark when I try to start...
Could you tell me how to solve the problem? If you can, then I can help you solve yours... You probably think that my question is weird, but it's the same question you ask... There isn't any mechanic that can solve my issue with the information I give him... But you expect us to solve yours with the same information I give to my mechanic... |
#3
|
|||
|
|||
![]()
If you can, then I can help you solve yours...
__________________
electronic components IC electronic components electronic components trading |
#4
|
|||
|
|||
![]()
Sorry for my unclear description! Thanks for your enthusiasm.
I used the official sample "DelphiXX\source\Win32\db\ScktSrvr.dpr" Delphi 2007 the demo could describe the problem. In XP, the trayicon is correct; however in win7 it doesn't work. |
#5
|
|||
|
|||
![]()
You should not run user interface stuff in a Windows service. It is not recommended. In Windows 7 you don't see such a tray icon because windows 7 runs services in a different session.
If you want to have graphical interface, divide your application into to parts: 1- Windows Service. 2- Service Manager. Your service manager can be a simple GUI application which communicates with your Windows service, using one of the available IPC methods (e.g. Pipes). Your Windows service won't interact with the user directly. It will communicate with your service manager app using IPC or if it needs to log something (e.g. an error message) it uses Windows Events Viewer. |
#6
|
|||
|
|||
![]()
Is it missing, or is it just hidden by default as are all other notification icons? In other words, if you click the arrow does it show in the customize window?
|
![]() |
Thread Tools | |
Display Modes | |
|
|