[Lazarus] Shell notifications

Michael Van Canneyt michael at freepascal.org
Tue Aug 20 14:49:42 CEST 2013



On Tue, 20 Aug 2013, Mark Morgan Lloyd wrote:

> Antonio Fortuny wrote:
>> Hi Folks.
>> 
>> Do you know any component / tool to allow an application to be notified by 
>> the host OS when something changes in a disk directory ?
>> Both Windows & Linux.
>
> I think on Linux that you need something like the File Alteration Monitor 
> (FAM) daemon, but I don't know how universally it's implemented.

Nothing that complicated.

Just use inotify. The inotify unit is in the rtl.

I didn't get around to writing a cross-platform component for this yet.

Michael.




More information about the Lazarus mailing list