1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

Windows Version

Discussion in 'Delphi Programming' started by saedi_mehdi, Dec 2, 2013.

  1. saedi_mehdi
    Offline

    saedi_mehdi DF Junior

    function WinMajorVersion: Integer;
    var
      OSVersionInfoEx: TOSVersionInfoEx;
    begin
      GetWindowsVersionEx(OSVersionInfoEx);
      result:= OSVersionInfoEx.dwMajorVersion;
    end;

    function WinMinorVersion: Integer;
    var
      OSVersionInfoEx: TOSVersionInfoEx;
    begin
      GetWindowsVersionEx(OSVersionInfoEx);
      result:= OSVersionInfoEx.dwMinorVersion;
    end;
     
  2. amir_kh1845
    Offline

    amir_kh1845 DF Member

    what difference  MinorVersion and MajorVersion?
     
  3. saedi_mehdi
    Offline

    saedi_mehdi DF Junior

    A minor version is a version that is in progress; for example, a version that contains incomplete sales figures.
    A major version is one that is ready for a larger group to see; for example, if you typed in the final sales figures.
     
  4. saedi_mehdi
    Offline

    saedi_mehdi DF Junior

  5. wozengcong
    Online

    wozengcong Guest

    RE:

    Thanks
     
  6. Prof_Ho2
    Offline

    Prof_Ho2 DF Member

    I will try this code
     
     

Share This Page