// CFileDialog OpenFile语句路径没有错误,为什么在win7系统中打不开呢????????
语句如下:CFileDialog OpenFile(TRUE,"txt",srPath,OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,szFilter,AfxGetMainWnd());
// CFileDialog OpenFile(TRUE,"txt","品类车种字典.txt",OFN_HIDEREADONLY|OFN_OVERWRITEPROMPT,szFilter,AfxGetMainWnd());
AfxMessageBox("111");
i=OpenFile.DoModal();
在xp系统中运行没问题,为什么在win7系统中就是没法运行呢????????求高手解答!!!