Link to home
Start Free TrialLog in
Avatar of razor111
razor111

asked on

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?
ASKER CERTIFIED SOLUTION
Avatar of alanwhincup
alanwhincup

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pede
pede

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.