Hi, couple of thoughts..
unless you are doing something odd, the cpu hit of periodically listing a dir is negligible. implementing a poll is simple, and pretty much guaranteed to work under any circumstance. whereas, setting up notification is more complex. your app has no way of knowing if windows has decided to stop notifying you of events, unless you eg include code to warn if 30mins have passed with no updates (not nice). example of where this has hit me before, i've had a situation where the directory being monitored was on a network drive. that remote pc crashed/reset, and notification stopped without error. had this used a polling system, everything would have continued as normal when the networked pc came back.. so.. 1) keep things as simple as possible 2) this includes trying to keep everything native to delphi hope that helps :-) cya! --- [EMAIL PROTECTED] wrote: > Hi, > > I'm wanting to have Delphi passively listen for a change in a windows > folder > / directory i.e. when a file suddenly appears in the directory, > having been > created by another application, this wakes Delphi up. > __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/