Home All Groups Group Topic Archive Search About

How to detect x86 or x64 of Windows XP?

Author
20 Sep 2006 12:42 PM
yxq
Hello,
How to detect the OS info that is x86 or x64 in Windows XP?
Thank you

Author
20 Sep 2006 1:11 PM
Herfried K. Wagner [MVP]
"yxq" <ga***@163.net> schrieb:
> How to detect the OS info that is x86 or x64 in Windows XP?

Check out the replies of Thomas Scheidegger [MVP] in this thead:

<URL:http://groups.google.de/group/microsoft.public.de.german.entwickler.dotnet.csharp/browse_frm/thread/0efe34d5266ef049/>

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://dotnet.mvps.org/dotnet/faqs/>
Author
24 Sep 2006 5:38 PM
Theo Verweij
yxq wrote:
> Hello,
> How to detect the OS info that is x86 or x64 in Windows XP?
> Thank you
>
>
If environ("ProgramFiles(x86)") = "" then
    'x86
else
    'x64
end if