FileSystemWatcher functionality in VC 6.0

  • Thread starter Thread starter Maansi Sanghi
  • Start date Start date
M

Maansi Sanghi

Hello,

I am searching for a class that would listen to a directory and raise an
event /notification in case of file addition, file deletion modification
etc.

..NET has a FileSystemWatcher class for this. I would to right now avoid
using a .NET class for my application. Does anyone know of a similar class
in VC 6.0 libraries.

Regards,
Maansi
 
Hello,

I am searching for a class that would listen to a directory and raise an
event /notification in case of file addition, file deletion modification
etc.

.NET has a FileSystemWatcher class for this. I would to right now avoid
using a .NET class for my application. Does anyone know of a similar class
in VC 6.0 libraries.

Regards,
Maansi

Check out the Win32 API call "FindFirstChangeNotification". I'm sure
someone has probably got a wrapper class for it on codeproject.com

Regards,

PJ Naughter

Naughter Software
Mail: pjna at naughter.com
Web: www.naughter.com
Hotmail/MSN Messenger: pjnaughter at hotmail.com
 
Thanks, this would do the job.

PJ Naughter said:
Check out the Win32 API call "FindFirstChangeNotification". I'm sure
someone has probably got a wrapper class for it on codeproject.com

Regards,

PJ Naughter

Naughter Software
Mail: pjna at naughter.com
Web: www.naughter.com
Hotmail/MSN Messenger: pjnaughter at hotmail.com
 
Back
Top