Please enable JavaScript to view this site.

Thread 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 build process is very similar.


Project files


The example project can be found in the serviceClient sub-directory in the directory where Thread 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




There are two configurations in each project:


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


Using serviceClient


The client interacts with the running service and provides the following command line options:


-string instructionStep Sends the text that follows the option (quoted if it has spaces) to the service


If the service is running the service will return the string in reverse order:




-? instructionStep Display the help message (usage)


-help instructionStep Display the help message (usage)


If the service is not running you'll see a message including something like "CallNamedPipe failed".