 Operating System Version Detector Dynamic Link Library
 Version 1.2.0.0.
 Copyright Ville Alasaari 2003. (valasaari@hotmail.com)
********************************************************

 With this dll you can easily detect current operating system version and uptime.

 * Programming tool used:

  Delphi 6 (with Update #2)

 * Installation.

 If you are using orginal dll then do following:

  *In Windows*:
 Copy OSVDDLL.dll to your project folder.

  *In Delphi*:
 before implementation add these:
 
 function GetWindowsPlatformID: Integer; external 'OSVDDLL.DLL';
 function GetWindowsMajorVersion: Integer; external 'OSVDDLL.DLL';
 function GetWindowsMinorVersion: Integer; external 'OSVDDLL.DLL';
 function GetWindowsBuildVersion: Integer; external 'OSVDDLL.DLL';
 function GetWindowsCSDVersion: PChar; external 'OSVDDLL.DLL';
 function GetWindowsFullName: PChar; external 'OSVDDLL.DLL';
 function GetWindowsUptime: PChar; external 'OSVDDLL.DLL';
 function GetWindowsUptimeInDays: Integer; external 'OSVDDLL.DLL';
 function GetWindowsUptimeInHours: Integer; external 'OSVDDLL.DLL';
 function GetWindowsUptimeInMinutes: Integer; external 'OSVDDLL.DLL';
 function GetWindowsUptimeInSeconds: Integer; external 'OSVDDLL.DLL';

 Then you can call them:

 procedure Button1.Click(Sender: TObject);
 begin
  LabelUptime.Caption := GetWindowsUptime;
 end;

********************************************************************************************
Please send feedback: valasaari@hotmail.com