Recent

Author Topic: TFileStream question.  (Read 2771 times)

jamie

  • Hero Member
  • *****
  • Posts: 4848
TFileStream question.
« 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 ?
The only true wisdom is knowing you know nothing

PascalDragon

  • Hero Member
  • *****
  • Posts: 3339
  • Compiler Developer
Re: TFileStream question.
« Reply #1 on: July 29, 2021, 09:03:22 am »
No, because a 0 size file is still a valid file.

jamie

  • Hero Member
  • *****
  • Posts: 4848
Re: TFileStream question.
« Reply #2 on: July 29, 2021, 11:15:32 pm »
Ok, Making a TVirualMemoryStream class it is.
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018