Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function Problem running in Windows Vista
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Function Problem running in Windows Vista
Divers
Thread ID:
01302467
Message ID:
01302467
Vues:
46
I have found out that in Windows Vista, all the code relying on:
- "Is a certain Window open/closed", is FAILING.

I am using the FindWIndow function as follows:
___________________________________________________________________
Declare Integer FindWindow in win32Api Integer, String
LOCAL n
n = FindWindow(0, tcWindowName)
___________________________________________________________________

In Windows XP this function is always pretty SOLID, but in Windows Vista it returns n > 0, even when the tcWindowName Window has been closed for a while.

Is there anyway to make this function more reliable in Windows Vista ?

Thanks
Cyrus Nima
-------------------
cyrusnima@gmail.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform