• C++ Program: How to get notified when a specific file is changed, or added

    Aleisha Member

    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.

    http://msdn.microsoft.com/en-us/library/windows/desktop/aa365261%28v=vs.85%29.aspx

Viewing 0 reply threads
  • You must be logged in to reply to this topic.