Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


File Copy with Progress Bar, please help

This topic is 6188 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I am quite new to C++ but I need to write a small simple app. The Application must simply copy files from CD to hard disk, and display a dialog box with a progress bar of the filecopy operation, as they are large files. Using vc++ 6, I have started a new project with the MFC AppWizard(exe), to quickly create a dialog box and I have added a progress bar. I realise that I should use CopyFileEx() (or perhaps CopyFolder as there are more than one file) and CopyProgressRoutine, API functions to link to the progress bar(as CopyFile does not make a callback). Though as i am new to C++, i do not understand their syntax definition and how to implement them within the program and link them to the progress bar.(I have already looked at the msdn library explaination, but I''m still totally lost!) I havn''t found a way of doing this after looking through many sites/books , most seem to just explain how to make the progress bar move. I''m sure there must be a simple answer to this, so I would appreciate any help/explainations/source code.. or failing that - names of books i should go and read or links to sites with tutorials. Please help, thankyou very much

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!