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.
How to quickly get whether a directory has changed using C++ without a monitoring thread or process?
Asked
Active
Viewed 308 times
2 Answers
1
I'd try CDirectoryChangeWatcher, it wraps the windows ReadDirectoryChangesW function up so it's easier to use.

Nayruden
- 205
- 3
- 10