Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#4

Re: Copy File Problem - Überschreiben

  Alt 19. Mai 2010, 13:48
Hilfe zum letzten Parameter:
Zitat:
bFailIfExists [in]
If this parameter is TRUE and the new file specified by lpNewFileName already exists, the function fails. If this parameter is FALSE and the new file already exists, the function overwrites the existing file and succeeds.
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx

Soll die Datei überschriben werden, muss dort False stehen.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat