Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Test Solution Sample/Windows Events in Vista32?
Message
De
10/07/2009 17:04:45
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Test Solution Sample/Windows Events in Vista32?
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2003
Divers
Thread ID:
01411531
Message ID:
01411531
Vues:
94
I'm taking a look at some code in the Solutions Samples, for monitoring changes to files/folders. The sample is based on the Win32API SHChangeNotifyRegister() function, and I'm concerned it may not work in Vista:

- the help says "Note This function is available through Microsoft Windows XP Service Pack 2 (SP2) and Windows Server 2003. It might be altered or unavailable in subsequent versions of Windows."

- I'm finding hints on Google that people are having problems getting it to work on Vista

I don't have Vista here to test - could someone please run the solution sample on Vista32 to see if it works:

- Menu...Task Pane...Solution Samples
- New in Visual FoxPro 9.0...Binding to Windows Message Events...
- Select "File/Folder Shell Events" from the dropdown
- Click on the "Enable Event" option
- In the messagebox, answer "Yes"
- Copy a file into your default VFP folder ( SYS( 5 ) + CURDIR() )
- See if you get a message logged in the Solution Sample

While I need to know about Vista32, it would be interesting to know about Vista64 as well.

Thanks.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Répondre
Fil
Voir

Click here to load this message in the networking platform