I'm learning C and C++.
I need to start the following program as a NT/2000 service (all win platforms would be good, but it's not important).
The user will write, for example: service.exe notepad blablah.txt
I'd like the program set itself as a service with the arguments the user entered the first time. If the user execute again the program with some others arguments, should it change the existing service value for the new one ?
I'll be also very glad if there were an option for uninstalling this service, but i don't want to ask you too much ;-)
void main(int argc,char *argv)
sprintf(exec, "%s %s", argv, argv);
Hoping you understood me,
Thank you to ones that will help me !!
..and sorry for my very bad english :(