Monitoring a folder
Hi, is there a way to get some sort of notification when the contents of a folder is changed ?
What I want to do is to monitor a folder and see for example if a new file is put into the folder. The way I tried was to just keep a list of all the files/subdirs and compare it to the actual contents every X seconds. I was wondering if there was a better way to accomplish this :)
You say you use MSVC but obviously cant be bothered to look in the helpfiles that come with the compiler because if you had you would have found this information out for yourself. Also dont forget msdn