Lazarus

Programming => General => Topic started by: jamie on July 29, 2021, 12:28:03 am

Title: TFileStream question.
Post by: jamie on July 29, 2021, 12:28:03 am

If I Set the SIZE property to 0 before freeing the Stream, does it delete the file that was created ?
Title: Re: TFileStream question.
Post by: PascalDragon on July 29, 2021, 09:03:22 am
No, because a 0 size file is still a valid file.
Title: Re: TFileStream question.
Post by: jamie on July 29, 2021, 11:15:32 pm
Ok, Making a TVirualMemoryStream class it is.
TinyPortal © 2005-2018