views:

130

answers:

2

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.

A: 

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

Nayruden
+2  A: 

also check out this question.

Nick D