Please enable JavaScript to view this site.

Bug Validator Help

Navigation: Examples > Example NT Service

Building the example service utility

Scroll Prev Top Next More

The example project can be found in the serviceMutex subdirectory in the directory where Bug Validator was installed. If the directory is not present, reinstall your software and choose custom or full installation.


Open the file serviceMutex.dsp using Microsoft® Developer Studio® 6.0.


There are two configurations, Debug and Release.


The utility provides a dialog box interface to allow the control over the creation of a mutex object with the name specified in the service.h header file. If the service is started with the mutex created, the service loads Bug Validator. If the service is started and the mutex does not exist, the service does not load Bug Validator. This allows you to control if Bug Validator is used without rebuilding your service. If you don't like uses mutexes in this way, you could change the code in the service and the utility to communicate this fact through shared memory, or a registry setting.