问题
I'm seeking to use Change Journal instead of ReadDirectoryChangesW
to track changes in my delphi XE2 application (as for why: ReadDirectoryChangesW is not that reliable)
The closest I could find in delphi/pascal is something called Delphi MFT/Journal helpers, it contains two pascal units: uMFT.pas and uDevNotification.pas.
The code above deal with MFT (very nicely actually), but nothing as far change journal goes.
I also found this C# code, which seems to do what I want, only it's in C#
My question is: anyone knows a Delphi XE2 code (or how to convert the C# code) to interact with and/or query the change journal?
As I said, my goal is to replace the ReadDirectoryChangesW
, so I ultimately need to interact with the change journal so that I'm notified whenever there's a change in the filesystem
来源:https://stackoverflow.com/questions/14496630/implement-change-journal-in-delphi