I need to make a program run as a windows service, but I only have visual c++ 6.0, and I don't think it has a template for this.
How can I create a windows service from scratch?
thanks a lot,
esaptonor
I need to make a program run as a windows service, but I only have visual c++ 6.0, and I don't think it has a template for this.
How can I create a windows service from scratch?
thanks a lot,
esaptonor
As I see - there is a template...
http://msdn2.microsoft.com/en-us/lib...c9(VS.80).aspx
And also a link how to write it from scratch...
Have you tried to use search before posting?
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
I did search this forum for windows service related threads, but I did not see any that related.
I also look through MSDN, but I was looking for c++ related pages, not .NET, which you have found.
I found http://msdn2.microsoft.com/en-us/lib...wx(vs.80).aspx
but it doesn't have how to do it in c++ without the template. Also, the template you found is for visual c++ 8, not the old version I am using (6)
Are you able to quickly tell me how to do it with c++? because I have no knowledge of .NET.
If you can't, I will try and see if I can make something work.
Last edited by esaptonor; 06-30-2007 at 11:13 PM.
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
Ok, thanks a lot. Ill check it out.