Funktioniert mit folgenden Änderungen auch mit Delphi 5:
Delphi-Quellcode:
package WindowsVersionInfoPackage;
{$R *.RES}
{$R 'WindowsVersionInfo.dcr'}
{$ALIGN ON}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO OFF}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS OFF}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO OFF}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$DESCRIPTION 'WindowsVersionsInfo'}
{$IMPLICITBUILD ON}
{$DEFINE RELEASE}
requires
Vcl50;
contains
Windows_Fragment,
cruStrSplitter,
WindowsVersionInfo
in '
WindowsVersionInfo.pas';
end.