Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect Vista 32 or 64 bit with OS() ?
Message
 
 
À
05/11/2007 13:08:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01266757
Message ID:
01266934
Vues:
19
>>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! :)

You're welcome.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform