The example project is in the nativeExample subdirectory where Memory Validator installation directory.
If the directory is not present, reinstall your software and choose custom or full installation to include the examples.
There are a variety of solutions and projects for different versions:
•nativeExample.dsp for Microsoft® Developer Studio® 6.0
•nativeExample_VSx_x.sln for Microsoft® Visual Studio / .net
There are a number of configurations in each project, the first two of which are linked with Memory Validator for API use:
•Debug / Release linked to the svlMemoryValidatorStubLib(_x64).lib demonstrating use with the Memory Validator API
The other configurations are standalone programs:
•DebugNonLink / ReleaseNonLink not linked for API use
•DebugStatic / ReleaseStatic statically linked to the C runtime and not linked for API use
•ESA Debug / ESA Release uses the Cherrystone Extremely Scalable Allocator (ESA)
You'll need the full or evaluation version of ESA from Cherrystone Software Labs Inc. for these configurations to work.
You might find you can't build the example application with Express versions of Visual Studio because it doesn't provide all the necessary libraries.
If that's the case, try searching for the missing libraries in one of the freely available Windows SDKs from the Microsoft website.
If you use Visual Studio Express to build your own application, Memory Validator will still work with it just fine.
There are some other projects installed alongside the nativeExample directory.
These optional projects build various DLLs that can be used by the example program, subject to user interaction.
They demonstrate detection of the loading and unloading of DLLs, memory leaks caused in DLLs that are subsequently unloaded, and other testable behaviours.