Link to home
Start Free TrialLog in
Avatar of LeTay
LeTay

asked on

detect if Windows is Vista or higher

I need to detect in a Delphi application is the Windows OS is Vista or higher, or not.
The simple code the best
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Ferruccio Accalai
Ferruccio Accalai
Flag of Italy image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi LeTay,
On Vista SysUtils.Win32MajorVersion = 6
You can find a really detailed article about OS detection here:
http://www.delphidabbler.com/articles?article=23&part=2#tosinfo-platform

Hope that helps, if you need an example i can provide one for you.
Avatar of LeTay
LeTay

ASKER

Faster answer than your is impossible !
Many thanks and Merry Christmas !