CFileDialog* pFileDlg= new CFileDialog(true);
pFileDlg->DoModal();//自动撤销? CString temp;
temp.Format("所选文件路径:%s", pFileDlg->GetPathName());
delete pFileDlg; 有模式对话框不是返回后,自动撤销吗?为什么用指针pFileDlg还能访问?
pFileDlg->DoModal();//自动撤销? CString temp;
temp.Format("所选文件路径:%s", pFileDlg->GetPathName());
delete pFileDlg; 有模式对话框不是返回后,自动撤销吗?为什么用指针pFileDlg还能访问?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货