Board index » delphi » Re: Ver180, esp for Raize Components 2.52
Brion L. Webster
![]() Delphi Developer |
Re: Ver180, esp for Raize Components 2.522005-12-14 04:36:28 AM delphi111 Arthur Hoornweg writes: QuoteJust wondering, where do I find the compiler version number of Delphi 2005, and Delphi 2006. Copy Delphi 7 source copy Rz252D70.dpk, Rz252Dsgn70.dpk, Rz252N70.dpk, and RZ252NDsgn70.dpk to *100.dpk files. Fix internal names with notepad, also check requires clauses to fix up names. Edit RzComps.inc, add near top: {$IFDEF CONDITIONALEXPRESSIONS} // AKA {$IFDEF VER140} {$DEFINE D6_OR_HIGHER} {$IF RTLVERSION>=18} {$DEFINE D10_OR_HIGHER} {$IFEND} {$ENDIF CONDITIONALEXPRESSIONS} Edit RzDBLook.pas, search for TButtonSet. Make two replacements: {$IFDEF D10_OR_HIGHER} FVisibleNavButtons: TNavButtonSet; {$ELSE} FVisibleNavButtons: TButtonSet; {$ENDIF} {$IFDEF D10_OR_HIGHER} property VisibleNavButtons: TNavButtonSet {$ELSE} property VisibleNavButtons: TButtonSet {$ENDIF} Hope that helps. -- -Brion There's no such thing as 'one, true way;' - Mercedes Lackey |