Hello,
the compilation of AlphaDB 9.16 in RAD Studio XE2, fails due to the following error located in the sDBNavigator.pas file:
[DCC Error] sDBNavigator.pas(182): E2003 Undeclared identifier: 'UseColoredGlyphs'
[DCC Error] sDBNavigator.pas(182): E2015 Operator not applicable to this operand type
[DCC Fatal Error] AlphaDBDelphiXE2.dpk(45): F2063 Could not compile used unit 'sDBNavigator.pas'
The piece of interested code is the following:
Code:
{$IFDEF DELPHI_XE2}
if TsDBNavigator(Btn.Parent).UseColoredGlyphs and (FindResource(hInstance, BtnTypeNames[aBtn], RT_BITMAP) <> 0) then begin
ResBitmap.LoadFromResourceName(hInstance, BtnTypeNames[aBtn]);
ResBitmap.Width := ResBitmap.Width div 2; // Remove “disabled” glyph
end
else
if not (aBtn in [nbApplyUpdates, nbCancelUpdates]) then
{$ENDIF}
Thanks.