摘要: CString strFileName =m_ strFilePath;//m_ strFilePath是获取到的文件路径; TCHAR chFileName[ _MAX_FNAME ]; TCHAR chFileExt[ _MAX_EXT ]; _tsplitpath( strFileName.GetBuffer(), NULL, NULL, chFileName, chFileExt ); strFileName.Format( _T("%s%s"), chFileName, chFileExt ); return strFileName; 阅读全文
posted @ 2013-05-14 12:47 友琼 阅读(333) 评论(0) 推荐(0)