Why does ReadDirectoryChangesW omit events?

后端 未结 2 935
南旧
南旧 2020-12-02 19:28

I use ReadDirectoryChangesW to watch a specified directory and update indexing structures whenever a change is detected. I use the following code (roughly)

v         


        
2条回答
  •  一个人的身影
    2020-12-02 20:17

    We've had the same problem with losing events, especially if a lot of changes happens at the same time, ie. 500 files are copied to the monitored directory.

    In the end we found Cromis and use the Directory watch. We have never looked back again.

提交回复
热议问题