[DUG] Help Detecting Windows Version

Jolyon Smith jsmith at deltics.co.nz
Mon Dec 13 13:30:58 NZDT 2010


More seriously... on your hunt for info, did you come across this perchance:

http://www.codeguru.com/cpp/w-p/system/systeminformation/article.php/c8973

Not Delphi code, but more general information which should be easily
incorporated in your current algorithm I should think.

The only thing it doesn't show explicitly is determining the bit-ness
(32/64), for which this may help:

http://www.berezniker.com/content/pages/visual-foxpro/how-detect-64-bit-os

Note that there is crucial information in the comments, specifically that if
you intend writing code that will port to Win64 (should Embarcadero ever
deliver) and still correctly identify 64-bit-ness.


-----Original Message-----
From: delphi-bounces at delphi.org.nz [mailto:delphi-bounces at delphi.org.nz] On
Behalf Of Alan Rose
Sent: Monday, 13 December 2010 12:50
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Help Detecting Windows Version

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 at delphi.org.nz
Admin: http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject:
unsubscribe



More information about the Delphi mailing list