CXXXApp::InitInstance()
1、
if (cmdInfo.m_nShellCommand == CCommandLineInfo::FileNew)
{ // Don't display a new MDI child window dialog cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
}
else // Dispatch commands specified on the command line
if (!ProcessShellCommand(cmdInfo))
return FALSE;
2、
// if (!ProcessShellCommand(cmdInfo))
// return FALSE;