How do I get notified when a specific file is changed, or added to a specific folder in windows? I am reasonably versed in C++, but I have only programmed for linux. It seems visual C++ is quite different than normal C++.
Specifically, I am looking for a way to hide a file when it is created or changed in windows 7 or newer, and I don’t want to constantly poll the system for updates (which would be easy to do).
I found some functions (in the msdn link) which may do what I want, but I don’t know how to use them, and rather than spending hours learning windows programming from the ground up, I thought someone could help or point me in the right direction.