There are cases when you might need to link Thread Validator directly into your program.
Sometimes the normal methods of launching and injecting aren't enough to get the data needed for a particular debugging task.
For example:
•maybe the data to be monitored has already been allocated before the stub was successfully injected
•maybe there is conflict with DLLs or a timing problem stopping the injection process from working as well as normal
These situations are rare, but given the variety of different applications, can happen.
The library that you need to link to is:
•svlThreadValidatorStubLib.lib for 32 bit
•svlThreadValidatorStubLib_x64.lib for 64 bit
When linked and started, your program will automatically start Thread Validator.
The libraries should be linked to your program's .exe, not to a DLL that is loaded into your program.