IF EMPTY(GETENV("ProgramW6432"))
?'32bit'
ELSE
?'64bit'
ENDIF
MartinaJ
>Hi,
>
>How can I check my VFP application are running on 32bit or 64bit windows OS ?
>I want the program can check out what Windows OS is running Win XP 32bit/64bit or Win 7 32bit/64bit.
>
>Please advise.
>
>Thanks.
>Derek