There are seven ways to start a target program and have Thread Validator collect data from it.
•Launch your program in a specified directory, with as many command line arguments as you want
•Inject Thread Validator into an already running program
•Wait until a specific program starts to run before attaching to it - e.g. for programs started as an OLE server
•Use the Native API to start Thread Validator from code that you control
•Start Thread Validator from the command line, allowing you to automate your use of Thread Validator
For your application to be processed for thread data, each module to be monitored must have a PDB file with debug data, or a MAP file with line number data.