CFileDialog* pFileDlg= new CFileDialog(true);
pFileDlg->DoModal();//自动撤销? CString temp;
temp.Format("所选文件路径:%s", pFileDlg->GetPathName());

delete pFileDlg; 有模式对话框不是返回后,自动撤销吗?为什么用指针pFileDlg还能访问?