This section provides some example command lines. For each example we'll break it down, argument by argument so that you can see how the command line works.
In all these examples the executable to run is outputDebugStringChecker.exe. You will need to provide the full path to outputDebugStringChecker.exe, or add the path to outputDebugStringChecker install directory to your $PATH.
outputDebugStringChecker.exe /dir e:\om\c\ /output e:\test.txt
/dir e:\om\c\
Scan the directory e:\om\c\
/output e:\test.txt
Write the output to e:\test.txt. If there are no functions detected there will be no output file.
Example 2
outputDebugStringChecker.exe /dir e:\om\c\ /output e:\test.txt /removeAllFunctions /addFunction myDebuggingFunction
/dir e:\om\c\
Scan the directory e:\om\c\
/output e:\test.txt
Write the output to e:\test.txt. If there are no functions detected there will be no output file.
/removeAllFunctions
Remove all existing functions definitions.
/addFunction myDebuggingFunction
Add one function definition so that OutputDebugString Checker is checking for just the function myDebuggingFunction
outputDebugStringChecker.exe /loadSettings e:\tests\test1\settings.tlc /output e:\test.txt
/loadSettings e:\tests\test1\settings.tlc
Load settings from the file e:\tests\test1\settings.tlc.
/output e:\test.txt
Write the output to e:\test.txt. If there are no errors there will be no output file.
outputDebugStringChecker.exe /loadSettings e:\tests\test1\settings.tlc /output e:\test.txt /dir e:\om\c\
/loadSettings e:\tests\test1\settings.tlc
Load settings from the file e:\tests\test1\settings.tlc.
/output e:\test.txt
Write the output to e:\test.txt. If there are no errors there will be no output file.
/dir e:\om\c\
Scan the directory e:\om\c\