不新建一个文档

// 分析标准外壳命令、DDE、打开文件操作的命令行
CCommandLineInfo cmdInfo;
// 启动时不自动打开一个空文档
cmdInfo.m_nShellCommand = CCommandLineInfo::FileNothing;
ParseCommandLine(cmdInfo);

原文地址:https://www.cnblogs.com/mysunnyday/p/2341799.html