Hi
I need to precisely track changes on a specified file. I have to be
able to know exactly what bytes of a file had been modified (or how
much added/deleted). This file is a binary file containing an old
database, changes on it are made by an dedicated DBMS. I found
FileSystemWatcher class but it does not give me information of what
bytes are modified.
Ben Voigt [C++ MVP] - 09 Jun 2007 23:01 GMT
> Hi
>
[quoted text clipped - 4 lines]
> FileSystemWatcher class but it does not give me information of what
> bytes are modified.
NTFS Change Journal might or might not give you that information. If not,
you will need a file system filter driver to intercept the write requests.
You should also know that the area written is likely to be larger than the
actual block changed.