void P&arseCommandLine (CCommandLineInfoamp ; rCmdInfo );
Paramètres
rCmdInfo
Une référence à un CCommandLineInfo objet.
Remarques
Appelez cette fo&nction membre pour analyser la ligne de commande et envoyer les paramètres, un à la fois, tonbsp ; CCommandLineInfo::ParseParam.
Lorsque vous démarrez un nouveau projet MFC AppWizard, AppWizard créera une instance locale de CCommandLineInfoet appelez ensuite ProcessShellCommand et ParseCommandLine dans la fonction membre InitInstance . Une ligne de commande suit l'itinéraire décrit ci-dessous:
Notez que vous pouvez appeler ParseCommandLine directement au besoin.
Pour une description des indicateurs de ligne de commande, voir CCommandLineInfo::m_nShellCommand.
Aperçu de CWinApp |nbsp ; Membres de la classe | Graphique de la hiérarchie
Voir aussi  ;CCommandLineInfo, CWinApp::InitInstance, CCommandLineInfo::ParseParam, CWinApp::ProcessShellCommand, CCommandLineInfo::m_nShellCommand