2

TJvChangeNotify (JEDI) または TShellChangeNotifier の変更イベントで変更されたファイル (名前) を知る方法は?

ありがとう!

4

1 に答える 1

3

Both components use FindFirstChangeNotification to monitor changes. As indicated in its documentation the function does not provide information on what triggered the notification. As such the only possible way to find out what happened using these components is to keep a snapshot of the monitored folder and perform a comparison after a change occurs.

If you decide to use ReadDirectoryChangesW as suggested by FindFirstChangeNotification's documentation, see this answer. Or instead, if you decide to use SHChangeNotifyRegister see this article.

于 2011-08-03T18:31:18.293 に答える