Re: VC++ windows services
Does your code work? Did you test it?
Re: VC++ windows services
Yes it is working in MFC.. 10 screen shots are taken in the interval of 10 seconds..
Re: VC++ windows services
Then what is the problem?
Re: VC++ windows services
I want to include these codings the service application. It should run as a service. I mean it should start taking the screen shots once the service gets started. How to include the above codes in to the windows service application??
Re: VC++ windows services
Re: VC++ windows services
Re: VC++ windows services
I have learned and added the codes to install and uninstall a service.
now installation and uninstallation both working fine.
Next step is bringing the codes from MFC. the codes in the txt file i have attached.. please help me..
Re: VC++ windows services
I guess you don't need MFC code in your service.
Re: VC++ windows services
Then, how it is possible to take the screenshots codes inside a service. And make it to work when the service gets started..
Re: VC++ windows services
The code you have shown does not contain any MFC classes/functions. So what is your problem?
Re: VC++ windows services
please help me.. i want to include the code to my service. So that the codes executed once the service gets started..
Re: VC++ windows services
Instead of using please help me.. in each post try to solve it differently as per your needs.
If you need to start your screenshot taker application with windows startup then put the exe path in startup folder instead of making it a service.
Re: VC++ windows services
I need to distribute it to all in my company, so it needs to be a service. I am a beginner. So help me in this aspect. How to add the above codes to the service application.
Re: VC++ windows services
The "need to distribute it to all in my company" does not mean that it must be a service.
What is wrong with the hypheni's suggestion?