?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. _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe