File monitoring

2 views
Skip to first unread message

iNfRaC00L

unread,
Oct 15, 2007, 3:24:05 PM10/15/07
to
Hi all!

With your help, I would like to write a program that monitors which ever
files system opens, creates, writes to, reads from .... and finaly
updates those neatly in it's log - same as any antivirus monitor but
without virus-checking. I've written a code that uses
ReadDirectoryChangesW, but it only triggers when file is opened or
date/time modified. It's important that my program should 'be aware'
when any other program reads from certain file (ie. catch the name of
INI file being read from). I humbly assume that this shouldn't be
complex to an average C++ coder, so I guess that I shouldn't wait too
long for any tips. I'm using Borland C++ 5.0.

Thanx

Reply all
Reply to author
Forward
0 new messages