News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Help with CopyFileEx and CopyProgressRoutine

Started by shadow, June 27, 2005, 11:10:57 PM

Previous topic - Next topic

donkey

Exactly right, at least that's what it explains in the docs, never tried it myself. This is actually the first time I used copyFileEx as it is not available in Windows 9x and I still try to make my apps compatible with that family of OSes.
"Ahhh, what an awful dream. Ones and zeroes everywhere...[shudder] and I thought I saw a two." -- Bender
"It was just a dream, Bender. There's no such thing as two". -- Fry
-- Futurama

Donkey's Stable

shadow

what does COPY_FILE_RESTARTABLE   equal and how do you know that?

chep

Quote from: shadow on July 06, 2005, 10:20:21 PM
what does COPY_FILE_RESTARTABLE   equal and how do you know that?

As usual : MSDN / Platform SDK...


Quote from: MSDN / CopyFileEx / COPY_FILE_RESTARTABLEProgress of the copy is tracked in the target file in case the copy fails. The failed copy can be restarted at a later time by specifying the same values for lpExistingFileName and lpNewFileName as those used in the call that failed.

Quote from: Platform SDK / WinBase.h#define COPY_FILE_RESTARTABLE                 0x00000002

shadow

O!  I always wondered about that!  Thanks!   :lol

jklosak

I want to thank everyone for these posts. i found this page on google for exactly the same programming issues with CopyFileEx with MASM 32 and it works great

John Klosak