Basically what I need is to update information in a database to keep in sync
with the files if the user moves them around.
Any help appreciated
Andy
The only way I can think of reliabily getting every file move and knowing
what is going on is to write a file system filter driver. A ton of work.
If the volume is NTFS and you are running Win2k or WinXP you can look into
the USN journal and see if that helps.
I suggest a different approach. Perhaps you can come up with a way where
you don't need to monitor for file moves and the like.
Another idea is to use object id's to tell if the file's match. Again this
requires NTFS. You would want to stick with FSCTL_CREATE_GET_OBJECT_ID to
retrieve the object id since it will assign one if it doesn't already exist.
"Andrew Ward" <a...@zfree.co.nz> wrote in message
news:#sCqPgLlBHA.2204@tkmsftngp07...
Regards, Dejan.
Andrew Ward wrote:
--
Kind regards, Dejan M. www.alfasp.com
E-mail: de...@alfasp.com ICQ#: 56570367
Alfa File Monitor - File monitoring library for Win32 developers.
Alfa File Protector - File protection and hiding library for Win32 developers.
Alfa Registry Monitor - Registry monitoring library for Win32 developers.
Alfa Registry Protector - Registry protection library for Win32 developers.