Solved

Detecting file access

Posted on 2001-09-13
2
132 Views
Last Modified: 2010-04-06
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
Comment
Question by:razor111
2 Comments
 
LVL 5

Accepted Solution

by:
alanwhincup earned 150 total points
ID: 6480874
You may find something interesting here:

http://www.torry.net/notification.htm
0
 
LVL 1

Expert Comment

by:pede
ID: 6482188
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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video discusses moving either the default database or any database to a new volume.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now