Hi,

For checking new files in directory WinAPI functions can be used.
Waiting for notification will be in any case better than polling.

See some info on msdn site:

Obtaining Directory Change Notifications
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/obtaining_directory_change_notifications.asp

ReadDirectoryChangesW
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/readdirectorychangesw.asp

FindFirstChangeNotification
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/findfirstchangenotification.asp

Reply via email to