Please enable JavaScript to view this site.

Memory Validator Help

Navigation: Native API > Native API Reference

Loading and Starting the Profiler

Scroll Prev Top Next More

 

mvLoadProfiler

 

Loads the profiler DLL into memory, but does not start the profiler.

 

For most use cases won't need to load the profiler, as the profiler will have been loaded when your launched your program from Memory Validator, or when you injected into your program using Inject or Wait For Application.

 

However if you're running your program from outside of Memory Validator and want to load the profiler from inside your program you can use mvLoadProfiler() to do that. You'll then need to call mvStartProfiler() to start it.

 

extern "C" 

void mvLoadProfiler();

 

Do not use this function if you are working with services, use the NT Service API.

 

 

mvStartProfiler

 

To start the profiler from your API code you need to call the function mvStartProfiler() from your code before you call any API functions. Ideally you should call this function as early in your program as possible.

 

extern "C" 

void mvStartProfiler();

 

If you prefer to start the profiler from the user interface or command line you can omit the mvStartProfiler() call. You can leave it present if you wish to start Memory Validator from your program.

 

Do not use this function if you are working with services, use the NT Service API.