Hello,
I'm trying to monitor a file deletion from a certain path.
While this file is not deleted, my application shouldn't do anything.
Of course, if something goes wrong and the file is not deleted, there will be a timeout.
I have a 3 signals depending on what happens with the file, removed, modified or created. When the file is removed, for example, the signal removed set a variable "finished" to break the loop on the file main.cpp, but it looks like it isn't. Any help on this?
My test code is attached here: teste-wait.zip
If this is needed, my OS is Windows 7 Professional.
Thanks,
Renan




Reply With Quote
Bookmarks