<\/p>\n\r
When using the command line it\'s convenient to store settings and options in files that can be easily referenced.<\/p>\n\r
<\/p>\n\r
Those files include:<\/p>\n\r
<\/p>\n\r
•<\/span>Global settings files <\/span> •<\/span>File locations for source, third party source, PDB or MAP files •<\/span>DLL hook files<\/p> <\/p>\n\r Each of these file types can be saved or exported from Memory Validator.<\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r Global settings are usually stored in the registry, but you can save a specific set of settings for use in regression tests:<\/p>\n\r <\/p>\n\r •<\/span>Settings<\/span> menu <\/span> Save settings...<\/span> <\/span><\/p> <\/p>\n\r <\/a>-settings<\/span> <\/p>\n\r <\/p>\n\r Points to a previously saved settings file to be used for the test.<\/p>\n\r <\/p>\n\r Examples:<\/p>\n\r <\/p>\n\r -settings <\/span>c:\\settings\\testMacro1.mvs<\/p>\n\r -settings<\/span> "c:\\reg tests settings\\testMacro1.mvs"<\/p>\n\r <\/p>\n\r File location files can be easily generated by exporting file locations<\/a> from the File Locations<\/a> page of the settings dialog.<\/p>\n\r <\/p>\n\r <\/a>-fileLocations<\/span><\/p>\n\r <\/p>\n\r Specify a plain text file listing file locations to be used during testing. See the format of the file below.<\/p>\n\r <\/p>\n\r Each set of file types (one per line) is preceded by a header line in the file.<\/p>\n\r <\/p>\n\r •<\/span>[Files]<\/span> <\/span> Source files <\/span><\/p> •<\/span>[Third] <\/span> Third party source files <\/span><\/p> •<\/span>[PDB] <\/span> PDB files <\/span><\/p> •<\/span>[MAP] <\/span> MAP files <\/span><\/p> <\/p>\n\r Example:<\/p>\n\r <\/p>\n\r -fileLocations <\/span>c:\\regressionsTests\\testFileLocations1.mvxfl<\/p>\n\r <\/p>\n\r Example file:<\/p>\n\r <\/p>\n\r [Files]<\/span><\/p>\n\r c:\\work\\project1\\<\/span><\/p>\n\r [Third]<\/span><\/p>\n\r d:\\VisualStudio\\VC98\\Include<\/span><\/p>\n\r [PDB]<\/span><\/p>\n\r c:\\work\\project3\\debug<\/span><\/p>\n\r c:\\work\\project3\\release<\/span><\/p>\n\r [MAP]<\/span><\/p>\n\r c:\\work\\project3\\debug<\/span><\/p>\n\r c:\\work\\project3\\release<\/span><\/p>\n\r <\/p>\n\r <\/p>\n\r <\/p>\n\r
\n\r <\/span><\/p>
\n\r <\/p><\/a>Loading global settings from a file<\/span><\/h1>\n\r
<\/span><\/h1>\n\r
<\/a>File locations for source, PDB or MAP files<\/span><\/h1>\n\r
<\/span><\/h1>\n\r
<\/a>Files listing DLLs to hook<\/span><\/h1>\n\r
<\/span><\/h1>\n\r
DLL hook files can be easily generated by exporting DLL hooks<\/a> from the Hooked DLLs<\/a> page in the Filters section of the settings dialog.<\/h1>\n\r