static CString szFilter = "All Files(*.*)|*.*||"; static CString filetype = "*.*"; CString strbuf; CFileDialog dlg(TRUE, filetype, filetype, OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST | OFN_ALLOWMULTISELECT, szFilter); dlg.m_ofn.lpstrFile = strbuf.GetBuffer(4096); dlg.m_ofn.nMaxFile = 4096; if(dlg.DoModal() == IDOK) { POSITION pos(dlg.GetStartPosition()); while (pos != NULL) { CString strfile1 = dlg...