摘要: 使用SHFileOperation函数进行操作需要注意的地方:1、pFrom, pTo字符串必须是以两个\0结尾2、FOF_NOCONFIRMATION | FOF_NOCONFIRMMKDIR | FOF_NOERRORUI | FOF_SILENT标志位用户实现静默拷贝,拷贝过程不弹出任何对话框 1 int CopyFileToFolder(const string &filePath, const string &toPath) 2 { 3 SHFILEOPSTRUCT FileOp; 4 ZeroMemory((void*)&FileOp, sizeof(SHF 阅读全文
posted @ 2012-08-29 20:52 tonyhan 阅读(660) 评论(0) 推荐(0)