In "InitInstance" den Default-Wert von "cmdInfo.m_nShellCommand" von "FileNew" nach "FileNothing" setzen:
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
ParseCommandLine(cmdInfo);
Jochen Kalmbach (MVP VC++)