Allocating a contiguous file in Delphi?

Allocating a contiguous file in Delphi?

Hello all,

is it possible to allocate a contiguous (non-fragmented) file on disk without having to resort to external tools like "contig.exe" ? I'm using Delphi under Windows. I've googled for ages, cannot find any source code examples anywhere ...



Kind regards,
Arthur

Comments

  1. Arthur Hoornweg What OS/file system are you using?

    ReplyDelete
  2. If you develop a DVR project you will need performance.

    ReplyDelete
  3. Joseph Mitzen Windows server 2016, ntfs w. cluster size 4kb, VMWare esxi 6.5.

    Data is on a pre-allocated 512 gb fixed size partition on a SSD.

    ReplyDelete

Post a Comment