3

The change includes adding or removing files in the directory, or changes of its sub-directories. Is there any windows APIs which can get thus changes? I don't have a thread or process to monitor the file system.

Charles Sprayberry
  • 7,632
  • 2
  • 39
  • 49
quantity
  • 3,911
  • 3
  • 22
  • 20

2 Answers2

2

also check out this question.

Community
  • 1
  • 1
Nick Dandoulakis
  • 41,532
  • 15
  • 102
  • 136
1

I'd try CDirectoryChangeWatcher, it wraps the windows ReadDirectoryChangesW function up so it's easier to use.

Nayruden
  • 195
  • 2
  • 10