Recent

Author Topic: FileSetDate(FileName...) does not run correctly uder Windows  (Read 3551 times)

raiyul

  • Newbie
  • Posts: 1
FileSetDate(FileName...) does not run correctly uder Windows
« on: September 23, 2007, 03:46:04 pm »
FileSetDate can be used that way :
fHandle := FileOpen(File_Name,fmOpenReadWrite or fmShareExclusive);
errorcode := FileSetDate(fHandle, FileDate );
FileClose(fHandle) ;

but this way, it returns errorcode 5 (no acces) :
errorcode := FileSetDate(File_Name, FileDate );

rai yul

 

TinyPortal © 2005-2018