void ParseCommandLine( CCommandLineInfo& rCmdInfo );
Parameters
rCmdInfo
A reference to a CCommandLineInfo object.
Remarks
Call this member function to parse the command line and send the parameters, one at a time, to CCommandLineInfo::ParseParam.
When you start a new MFC project using AppWizard, AppWizard will create a local instance of CCommandLineInfo, and then call ProcessShellCommand and ParseCommandLine in the InitInstance member function. A command line follows the route described below:
Note that you can call ParseCommandLine directly as needed.
For a description of the command-line flags, see CCommandLineInfo::m_nShellCommand.
CWinApp Overview | Class Members | Hierarchy Chart
See Also CCommandLineInfo, CWinApp::InitInstance, CCommandLineInfo::ParseParam, CWinApp::ProcessShellCommand, CCommandLineInfo::m_nShellCommand