2017年4月20日

Qt删除指定文件夹里的所有文件(设置过滤)

摘要: bool AppClass::zsHelperClearCacheFile() { QDir dir(_zsHelperCachePath); QFileInfoList fileList; QFileInfo curFile; if (!dir.exists()) { return false; 阅读全文

posted @ 2017-04-20 17:56 阿兴的平凡世界 阅读(1940) 评论(0) 推荐(0) 编辑

ShellExecuteEx 阻塞和异步调用进程的两种方法

摘要: 阻塞: SHELLEXECUTEINFO ShExecInfo = { 0 }; ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO); ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS; ShExecInfo.hwnd = N 阅读全文

posted @ 2017-04-20 17:52 阿兴的平凡世界 阅读(813) 评论(0) 推荐(0) 编辑

QT QString, wchar_t *, TCHAR, CString和其他字符或字符串类型的转化

摘要: 转发自:http://blog.csdn.net/qq61394323/article/details/28391579 (努力的草根) //QString to wchar_t *:const wchar_t * encodedName = reinterpret_cast<const wchar 阅读全文

posted @ 2017-04-20 10:03 阿兴的平凡世界 阅读(271) 评论(0) 推荐(0) 编辑

导航