Linked by Rodney Holiman on Tue 15th Jun 2004 19:19 UTC
General Development There are times when a directory needs watched.  For reasons of its own, a program may need to know when a file is deleted, updated or renamed.  If .NET is involved, this is a trivial task.  Create an instance of the FileSystemWatcher; set some properties, and the task is completed.  If a non .NET solution is required (and regardless of the hype, some people haven't embraced .NET in all of its glory.), the ReadDirectoryChangesW function must be used, however the documentation for ReadDirectoryChangesW is sketchy at best.
Permalink for comment
To read all comments associated with this story, please click here.
okay...?
by M on Wed 16th Jun 2004 07:19 UTC

If I knew I could get fairly random Delphi articles published on OSNews I would have written a few by now... LOL! Not clear how this is OS related as it is a pretty simple example and Windows centric... ah well.