Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect Vista 32 or 64 bit with OS() ?
Message
De
05/11/2007 13:08:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01266757
Message ID:
01266785
Vues:
15
>>How to detect Vista 32 or 64 bit with OS() ?
>
>
>Denis,
>
>First make sure that you're running under WInXP or later, or WIn2k3 server or later. The IsWow64Process on MSDN http://msdn2.microsoft.com/en-us/library/ms684139.aspx
>
>DECLARE Long GetCurrentProcess IN WIN32API
>DECLARE Long IsWow64Process IN WIN32API Long hProcess, Long @ Wow64Process
>lnIsWow64Process = 0
>llIs64BitOS = .F.
>IF IsWow64Process( GetCurrentProcess(), @lnIsWow64Process) <> 0
>	llIs64BitOS = (lnIsWow64Process <> 0)
>ENDIF	
>? llIs64BitOS
>
Thanks a lot! :)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform