I just installed v8.50 on XE4, seemingly successful. But I can't build any project with alphacontrols becasue an error in sDateUtils.pas pops up (see attachment). Here is the error message: Undeclared identifier: 'ShortDateFormat'
And this is the function in statutes that the error occurs in:
function DefDateFormat(NormalYears: Boolean): string;
begin
if NormalYears then begin
case GetDateOrder({$IFDEF DELPHI_XE3}FormatSettings.{$ENDIF}ShortDateFormat) of
doMDY: Result := 'MM/DD/YYYY';
doDMY: Result := 'DD/MM/YYYY';
doYMD: Result := 'YYYY/MM/DD';
end;
end
else begin
case GetDateOrder({$IFDEF DELPHI_XE3}FormatSettings.{$ENDIF}ShortDateFormat) of
doMDY: Result := 'MM/DD/YY';
doDMY: Result := 'DD/MM/YY';
doYMD: Result := 'YY/MM/DD';
end;
end;
end;