[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 143
  • Last Modified:

Detecting file access

I want to create a program which detect when a file is opened, closed, seeked. For example take a look at the application File Monitor.
So my program must listen over the file system and detect when some program open file. Also need to see the Handle of this application!
Any ideas?
0
razor111
Asked:
razor111
1 Solution
 
alanwhincupCommented:
You may find something interesting here:

http://www.torry.net/notification.htm
0
 
pedeCommented:
For the record, WaitForSingleObject can wait for changes in directories. Haven't tried it myself, but could be useful if you really wan't to code the thing yourself.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now