>>>>>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 params to use.
>>>>>
>>>>>Can someone tell me the exact way to do it with the OS() method?
>>>>>
>>>>>(I do not want to use the other technique he showed.)
>>>>
>>>>Check
http://fox.wikis.com/wc.dll?Wiki~VFPFunctionOS but I also don't see a simple way. I tried various combinations of OS on my Windows Vista 64 and it simply returns 'Windows 6' for me.
>>>
>>>Mine says: 'Windows 6.01'
>>
>>What you're using? I'm using Windows Vista 64 and I see Windows 6.00 as OS(1).
>
>
>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