Solved

Detecting file access

Posted on 2001-09-13
2
136 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Convert GUI app into console app for Win32 Env 5 125
Create a path if not exists 7 108
how to update exe applicatio from internet ? 6 92
migrate this code to work on android 1 30
A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

749 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