Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use OS() method to determine if OS is 64-bit?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Divers
Thread ID:
01434532
Message ID:
01434578
Vues:
68
How can you interpret this text "The IsWow64Process function is only present in Windows OS that have 64-bit versions. We can check for it existence indirectly using VFP OS() function or directly with GetProcAddress / GetModuleHandle WIN API functions. " ?

Did you mean here, that we need to test if it's Vista / Windows 7 to determine that it may be 64-bit (since these 2 versions come with 64 bit) and then call this function for these 2 versions only?


>There's nothing in the article that suggests using OS() function to determine 64 or 32 bit version.
>
>>I found this article: http://berezniker.com/content/pages/visual-foxpro/how-detect-64-bit-os
>>
>>It says you can "indirectly" determine if the OS is 64-bit by using the OS() method, but it does not says specifically how to do it. I looked at the help file about that method, but I do not see what parametrs to use.
>>
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform