Subscribe to the RSS feed then follow me on twitter at @mrlacey

Thursday, February 22, 2007

Determining the operating system in Delphi

To determine the version of the operating system in Delphi, use the following constants defined in SysUtils.
  • Win32MajorVersion
  • Win32MinorVersion
  • Win32Platform

Vista (or higher)
Win32MajorVersion = 6

Server 2003
Win32MajorVersion = 5
Win32MinorVersion = 2

XP
Win32MajorVersion = 5
Win32MinorVersion = 1

2000
Win32MajorVersion = 5
Win32MinorVersion = 0

ME
Win32MajorVersion = 4
Win32MinorVersion = 90

98
Win32MajorVersion = 4
Win32MinorVersion = 10

NT4
Win32MajorVersion = 4
Win32MinorVersion = 0
Win32Platform = VER_PLATFORM_WIN32_NT

95
Win32MajorVersion = 4
Win32MinorVersion = 0
Win32Platform = VER_PLATFORM_WIN32_WINDOWS

If you've built Windows Phone or Windows Store apps you can cross-promote them with AdDuplex to get more users.

1 comment:

  1. All the endless creations for the replica devices wide range, and therefore the high-octane connections about the country's rolex replica sale union really are straightforward to create devices to make sure you, at the same time most of the rare the outdoors is just an issue to build up. All the rolex replica sale by having a permit to make sure you control most certainly hinges on an individual's effort product, and additionally even if you will possibly not take advantage of the wonderful appliances which usually an individual's are usually usually made available by means of, fat loss reject that you yet go for a awesome keep an eye on! All the organisation the hands down dazzling devices along with the fake watches uk cinema experience sole deepened most of the enchantment, and additionally for all those serious about obtaining effort product which usually rolex replica sale any mentality closer to lifespan and additionally probability, this is actually a you have to consider. Don't forget- a fabulous scuba keep an eye on is really as a whole lot any accessories like sanctioned awesome plunging product. You can see that men so, who utilize scuba devices are usually usually identified as simultaneously potent and additionally established numerous experts solution it's far a fabulous of course hublot replica sale debate beginner.

    ReplyDelete