Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Commandline Command Running a Program on the Target Compiling and Linking with On Time RTOS-32 |
Commandline CommandRTTarget-32 also supports a command line string with command: Commandline String where String is the command line passed to the program. You must quote "String" if the command line contains blanks, semicolons, slashes, or any other whitespace or comment character. Example:CommandLine "C:\Hello.exe -q SomeParm" The first part of the command line should always be the program's name. If no CommandLine directive is specified, RTLoc uses the .EXE file's filename. The command line is available at run time through Win32 API function GetCommandLine. Each portion of the command line is passed to function main in arguments argc and argv.
|