DirectoryWatcher
DirectoryWatcher copied to clipboard
Compatibility with Delphi (uses define MSWINDOWS instead of WINDOWS)
The problem is, that IFDEF WINDOWS does not work when compiling with Delphi. So one can either add MSWINDOWS to the list inside the code or add the define WINDOWS, if MSWINDOWS is defined. I added the define, because I did not want to duplicate code and did not want to replace IFDEF by IF, because I do not know whether Lazarus understands this.