Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use OS() method to determine if OS is 64-bit?
Message
De
12/11/2009 23:41:08
 
 
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:
01434548
Vues:
45
>>>
>>>CASE "6.00" $ lcOS
>>>     DO CASE
>>>        CASE OS(5) = "6000"
>>>           lcPlatform = "VISTA"
>>>        CASE OS(5) = "6001"
>>>           DO CASE
>>>              CASE OS(11) = "1"
>>>                 lcPlatform = "VistaSP1"
>>>              CASE INLIST(OS(11),"2","3")
>>>                 lcPlatform = "Win2008"
>>>              OTHERWISE
>>>                 lcPlatform = "(Unknown)"
>>>           ENDCASE
>>>        OTHERWISE
>>>           lcPlatform = "(Unknown)"
>>>     ENDCASE
>>>
>>>OS(5) returns 6002 for me.
>>
>>
>>I want to know if it is a 64-bit OS
>
>Right, I understand. My point is, that the code in this article seems to be incorrect.


I posted a comment to the blog post asking him to explain it. We'll see if he will.


.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform