是在XXX.cpp文件中的InitInstance()添加一行:
1
2
3
4
|
// Parse command line for standard shell commands, DDE, file open
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing ;
// 新添加的行
|