viksoe.dk

CPathMonitor class


This article was submitted .


This class uses the FindFirstChangeNotification Win32 API to detect changes in a file path.
A new thread is started to monitor changes. The thread will post a window message to a window of your choice whenever the files in the path change.

Source Code Dependencies

Microsoft Visual C++ 6.0

Download Files

DownloadSource Code (2 Kb)