Solved

Diskette activity logging

Posted on 1998-04-05
2
221 Views
Last Modified: 2010-04-06
Hi *.*

  I'd like to log the activity of the disc drive (especially the floppy, but generally just any drive). How can I get the information about the name of the file actually being read or written (as for example ViruShield does)? Any suggestions?

Bocian...
0
Comment
Question by:Bocian
[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

Expert Comment

by:inter
ID: 1361299
Hi,

I am sorry, there is no easy way as far as I know. You should write a device driver, device monitor or so. In VirusShield for example they have programmed a pseudo device driver just passign every thing to the underlying disk controler driver and does the checking. Note that, since these kind of handling is different between NT and Win95 they should sell two versions, one for NT and one for Windows. But if you want such trouble (or already know how to write them) you may write it. I am sure there are lots of example in www.microsoft.com/msdn but they are coded in C.

Regards, Igor


0
 
LVL 3

Accepted Solution

by:
KE earned 100 total points
ID: 1361300
You didn't describe in what way you wanted to use the logging function, but you can try this API function:

FindFirstChangeNotification


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…

734 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