Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Diskette activity logging

Posted on 1998-04-05
2
Medium Priority
?
229 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
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 200 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses

824 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