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,741
  • 3
  • 41
  • 50
quantity
  • 4,051
  • 3
  • 23
  • 20

2 Answers2

2

also check out this question.

Community
  • 1
  • 1
Nick Dandoulakis
  • 42,588
  • 16
  • 104
  • 136
1

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

Nayruden
  • 205
  • 3
  • 10