Please enable JavaScript to view this site.

Memory Validator Help

Navigation: Native API

Convenience functions

Scroll Prev Top Next More

Convenience functions

 

One convenience function is provided that will start the Memory Validator GUI (if it is not already running), then load the Memory Validator leak tracker into your process and start monitor memory usage.

 

extern "C"

int loadValidatorIntoApplication();

 

Returns:
TRUE   Successfully loaded MV DLL into target application and successfully started the profiler.
FALSE   Failed to load the MV 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 Memory Validator install directory.

 

 loadValidatorIntoApplication.h

 loadValidatorIntoApplication.c

 

Just add these files to your project and build.