Implementation of the change log in Delphi

I want to use Change Log instead of ReadDirectoryChangesW to track changes in my delphi XE2 application (why: ReadDirectoryChangesW is not reliable )

The closest I could find in delphi / pascal is called Delphi MFT / Journal helpers , it contains two pascals : uMFT.pas and uDevNotification.pas .

The code above is about MFT (very nice), but nothing but to change the log is not.

I also found this C # code , which seems to do what I want, only it in C #

My question is: does anyone know the Delphi XE2 code (or how to convert C # code) to interact with the change log and / or request the change log?

As I said, my goal is to replace ReadDirectoryChangesW , so I ultimately need to interact with the change log so that I get notified whenever it changes in the file system

+4
source share

All Articles