Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Function Problem running in Windows Vista
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Function Problem running in Windows Vista
Miscellaneous
Thread ID:
01302467
Message ID:
01302467
Views:
47
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
Next
Reply
Map
View

Click here to load this message in the networking platform