Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use OS() method to determine if OS is 64-bit?
Message
From
12/11/2009 23:41:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01434532
Message ID:
01434548
Views:
44
>>>
>>>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.


.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform