One convenience function is provided that will start the Coverage Validator GUI (if it is not already running), then load the Coverage Validator coverage profiler into your process and start profiling it.
extern "C"
int loadValidatorIntoApplication();
Returns:
TRUE Successfully loaded CV DLL into target application and successfully started the profiler.
FALSE Failed to load the CV DLL or failed to start the profiler.
To use this function #include loadValidatorIntoApplication.h into your code.
The source files can be found in the API directory in the Coverage Validator install directory.
Just add these files to your project and build.