How can I copy files by invoking windows “copy files” dialog to do it?
SHFileOperation seems like a option, but it is inside our process.
By the way, does SHFileOperation have GUI interface? Is it exactly the same as the Windows copy dialog?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes, this is what the
SHFileOperationfunction is designed for. It accepts anSHFILEOPSTRUCTstructure as its only parameter, which you can use to specify the options that you want.However, it has been replaced in Windows Vista and later versions with the
IFileOperationinterface.