-
Windows service
I want to start an apllication(that I've already written in C++) as a service under Windows 2000 and send start/stop signals to that service with other program. I've red about this in MSDN but it's a bit unclear to me. Can somebody help me(may be with example???
-
Look at the articles here under "NT Services" and "Services".
gg
-
If its not clear you can have an example from me, how to write an service, start and stopping it etc...
Do you want it?
-
Thank you!
I've already made it. However if want to install, run or stop the service i have to do it from the console(cmd.exe).
I want to do these things from other program that I've written(console application), so if you can help me with that problem?
-
search the win32 api for service with my name...it's a long thread and we discuss...including sample service code.
-
There are two ways. Either you can create your windows application as a service or you can create a service that runs your windows application.
Both of these methods are usefull according to the situation.
-
-
Look for information about the SRVANY utility.
-
Thank you guys!
I've made it.