Please enable JavaScript to view this site.

Coverage Validator Help

Navigation: Examples > Example NT Service

Building the example client

Scroll Prev Top Next More

 

If you've already built the sample service, the process is very similar

 

Project files

 

The example project can be found in the serviceClient sub-directory in the directory where Coverage Validator was installed.

 

If the directory is not present, reinstall your software and choose custom or full installation.

 

There are two project files in the directory:

 

serviceClient.dsp instructionStep for Microsoft® Developer Studio® 6.0  
 

serviceClient.vcproj instructionStep for Microsoft® Visual Studio / .net
 

 

Configurations

 

There are a small number of configurations in each project:

 

Debug / Release instructionStep dynamically links to the svlCVStubService(_x64).lib demonstrating use with the NT Service API  
 

 

Using serviceClient

 

The service is named CV Simple Service in the control panel services dialog, and provides the following command line options:

 

-string instructionStep Sends the following (optionally quoted) text to the service. If the service is running the service will return the string in reverse order
 

For example: serviceClient.exe -string "The quick brown fox" returns "xof nworb kciuq ehT"

 

-help instructionStep Display the help message