I have found examples of CopyFileEx with progress, but I need to copy some files from a folder with overall progress.
Can anybody provide info how to do this? Or is there good alternative (component, function)?
Big thanks for help!!!
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.
Well, I had an answer – but I only just got around to digging it out 🙁 But here it is anyway, I wrote this a few years ago as part of a program that was called “CopyFilesAndFailGraceFully.exe” 🙂 I’ve modded it a bit to miss out the recovery stuff that handles failing hard drives if it can – so NOT FULLY TESTED but run as a simple test.
You can call it to get a recursive filecount, filesize or Copy the files in a folder to a new folder. Or Mod for your own situation 🙂 Anyway its an example of what you need.
Its an Object (As you see) to use it (roughly):
You will need a couple of vars appropriately named.
Declare your callback:
and implement:
Then call as needed 🙂 e.g.: