BOOL CXXXApp::InitInstance()
{
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
CString strFilePathName = cmdInfo.m_strFileName;
if (!strFilePathName.IsEmpty())
{
dlg.m_strFileName = strFilePathName;
}
}
BOOL CXXXApp::InitInstance()
{
CCommandLineInfo cmdInfo;
ParseCommandLine(cmdInfo);
CString strFilePathName = cmdInfo.m_strFileName;
if (!strFilePathName.IsEmpty())
{
dlg.m_strFileName = strFilePathName;
}
}