Hi there!

The application I'm writting has to notify (via UDP) whenever a new file has been added to a specified folder.

How do I know that a new file has been added to the folder?

I suppose there's no way but polling...

But, how do I have to poll?

Is there a lighter way than "WIN32_FIND_DATA FindFirstFile + FindNextFile"?

It would be perfect to be able to retrive some kind of "folder attribute" containing a file count, or something like that... But what & how? Does this exist?

Any possibilities?

Thank you very much,

Ricardo Vázquez.
Madrid, Spain.