[DUG] Help Detecting Windows Version

Alan Rose Alan.Rose at trimble.co.nz
Mon Dec 13 13:48:35 NZDT 2010


Thanks Jolyon. Funny enough I had seen that first one and just figured
out Im only missing the product type to tell the different between
windows 7 and win server 2008.
Once I get that working I'll tackle the 64 bit stuff. Thanks for the
links. Cheers 

> -----Original Message-----
> From: delphi-bounces at delphi.org.nz 
> [mailto:delphi-bounces at delphi.org.nz] On Behalf Of Jolyon Smith
> Sent: Monday, 13 December 2010 1:31 p.m.
> To: 'NZ Borland Developers Group - Delphi List'
> Subject: Re: [DUG] Help Detecting Windows Version
> 
> More seriously... on your hunt for info, did you come across 
> this perchance:
> 
> http://www.codeguru.com/cpp/w-p/system/systeminformation/artic
> le.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-dete
> ct-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
> 
> _______________________________________________
> 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