Diskette activity logging

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...
BocianAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

interCommented:
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
KECommented:
You didn't describe in what way you wanted to use the logging function, but you can try this API function:

FindFirstChangeNotification


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.