Windows Services Programming 23

 

 

 

 

 

Running and Testing the Windows Service Control Application

 

Try running the project independently.

 

Running and Testing the Windows Service Control Application: A sample console program output in action without any argument

 

Test all the available options. The following screenshots show the examples.

 

Running and Testing the Windows Service Control Application: A sample console program output in action starting a service

 

Then, do a verification from Windows Service snap-in.

 

Running and Testing the Windows Service Control Application: A sample console program output in action starting a service - verify

 

Test another option, stopping a service

 

Running and Testing the Windows Service Control Application: A sample console program output in action stoping a service

 

Then, do a verification through Windows Service snap-in.

 

Running and Testing the Windows Service Control Application: A sample console program output in action stoping a service - verify

 

Finally, test the last option, updating the Discretionary Access Control List (DACL).

 

Running and Testing the Windows Service Control Application: A sample console program output in action, updating the DACL

 

 

 

 

< Windows Services 22 | Win32 Programming | Windows Services Win32 Programming | Windows Services 24 >