Re: difference bet service in win2k & daemons in linux?
From: Matthias Tacke (Matthias_at_Tacke.de)
Date: Thu, 3 Jun 2004 17:21:46 +0200
Davide Bianchi wrote:
>In comp.os.linux.misc Matthias Tacke <Matthias@tacke.de> wrote:
>> I don't pretend being a long time windows programmer, but it is easy and
>> only takes a bit time to proof that you are wrong.
>We are going from OT to way-OT, but if you have same code to share
>I'll be delighted to see it. Remove the 'yeahsure' form my address.
Ah, I see the position for that sentence was choosen badly.
IMO (your) arguments to differentiate between daemon and service aren't
that valid. A Hello World doesn't make sense for both. If an an app has
a gui and needs it, the app is split up in front and back end, the back
end being daemon or service. (Hamster comes to my mind a mail/nntp prog)
>> If you don't mind downloading the 12mb w2k3 server reskit (containing
>> srvany.exe) :
>I know Srvany, I've used many time. Problem is, sometimes it doesn't
>work. Afaik when the 'application-wannabe-service' want to display
>something on the screen srvany can't run the application.
You can pass arguments to your service via a registry entry. Didn't test
it myself, but redirecting stdout may work that way.
-- Greetings Matthias