Re: File copy problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hi Irv,
the short answer is that you need to use the API function called CopyFileEx
instead on the simple
copyFile() routine in win32lib. This API function uses a call-back routine, that
you write, that
enables you to update a progress bar or the like.

Let us know if you want any more help with that.
-----
Derek.

31/01/2002 10:31:58 AM, Irv Mullins <irvm at ellijay.com> wrote:

>
>I have written a Windows app which backs up data 
>over a lan to a CD burner. This works fine, using
>createDirectory() and copyFile() in Win32Lib.
>
>The files are large (~50 megs), so it would be nice 
>to have a progress bar to show how far along the 
>job has gone. 
>
>Question: how to find out how much has been copied,
>so I can set the progress bars? Do I need to start a 
>separate program to monitor this?
>
>BTW: I tried using a Euphoria routine to copy the 
>files, but it's just too slow.
>
>Regards,
>Irv
>
>
>
>
---------
Cheers,
Derek PArnell

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu