Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CopyFile()

Status
Not open for further replies.

AAP

Programmer
May 8, 2000
93
0
0
GB
I have a problem with the kernel function CopyFileA()

When on NT, I try to copy a file to another file that already exists I get a message

'Cannot create a file when that file already exists'

This is in spite of my having set the CopyFile FailIfExists flag to false. What am I doing wrong?

(I do not get this problem on WIN98). [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top