There are cases when you might need to link Memory 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 work as well as normal
These situations are rare, but given the variety of different applications, can happen.
In other cases you might want to use advanced features such as the extensions DLLs or the Memory Validator API.
The library that you must link to is:
•svlMemoryValidatorStubLib.lib for 32 bit
•svlMemoryValidatorStubLib_x64.lib for 64 bit
When linked and started, your program will automatically start Memory Validator.
More details on linking with the libraries can be found in the API section.
The libraries should be linked to your program's .exe, not to a DLL that is loaded into your program.
If your program is linked statically to the C runtime libraries, you might want to read the topic before you start.