Stanley schrieb:
Thanks for reply! You mean that it's not impossible to make a windows
service interact with desktop?? I don't think so! Please help to with
the code, I think it's possible!!
It's possible, but it's bad design. Services can interact with the
desktop, but to do so, they have to run with the LocalSystem-Account.
This one can do everything with your system. The service window will
be shown at the users desktop and so, it can receive window messages
as any other desktop window. This can be used to attack the users PC.
Also, if your service runs under WinXP with fast user switching, the
service window will only be shown to the first logged on user.
The better approach is a separate client application, which runs with
user privileges and connects to your service through TCP-Sockets for
example.
Thorsten Dörfler
--
vb-hellfire - einfach anders
http://www.vb-hellfire.de/