[DUG] Help Detecting Windows Version
John Bird
johnkbird at paradise.net.nz
Mon Dec 13 13:46:46 NZDT 2010
?http://stackoverflow.com/questions/601089/detect-whether-current-windows-version-is-32-bit-or-64-bit
easiest way depends on whether Windows 7 or Server 2008, or older.
Simplest and most general over windows versions looks to be
ProgramFiles(x86) environment variable which is only set on 64 bit versions.
There are more specific ways added for Windows 7/Vista/Server 2008.
John
Hi, has anyone got a function they can share that will detect all
current versions of Windows out there?
F.i. My old routine cant detect Windows Server 2008 64 bit
Tried googling but can only find outdated code like mine.
More information about the Delphi
mailing list