Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File Monitoring
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01287897
Message ID:
01289265
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
Hi Jignesh, check if these two code samples can help:

Monitoring changes in a directory
http://www.news2news.com/vfp/?example=117

Windows API functions used:
FindCloseChangeNotification
FindFirstChangeNotification
FindNextChangeNotification
WaitForSingleObject

Monitoring changes occurring within a directory (Win2K/XP)
http://www.news2news.com/vfp/?example=400

Windows API functions used:
ReadDirectoryChangesW

* * *
As already mentioned in this thread, C++ or .Net solution would probably be more light weight/efficient than a VFP-based utility.

The second example has C++ version that can be used as a starting point for creating a light weight directory monitoring utility.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform