|
-
February 29th, 2004, 03:10 PM
#1
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???
-
February 29th, 2004, 03:22 PM
#2
Look at the articles here under "NT Services" and "Services".
gg
-
March 2nd, 2004, 01:33 PM
#3
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?
-
March 2nd, 2004, 02:42 PM
#4
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?
-
March 2nd, 2004, 07:09 PM
#5
search the win32 api for service with my name...it's a long thread and we discuss...including sample service code.
-
March 4th, 2004, 02:26 AM
#6
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.
while(true)
cout<<"C++ is divine\n";
Feroz Zahid
-
March 4th, 2004, 05:31 AM
#7
-
March 4th, 2004, 01:57 PM
#8
Look for information about the SRVANY utility.
-
March 4th, 2004, 02:42 PM
#9
Thank you guys!
I've made it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|