> I have an application that create many log files by day. I don't have
the
> source code of this application. I need to develop a program that
should
> be notified every time that the application close a log file. How
do I
> receive this notification in my program? Does someone have any ideas?
Although I have not used it yet, have a look at : SHChangeNotify
in the win32 help file.
If you want to receive notification rather than send it then use...
FindFirstChangeNotification() and
FindNextChangeNotification()
I use then in a separate thread to good effect.