Re: Crystal 8 VCL in Delphi 2005



Tanya wrote:

Has anyone successfully converted Crystal 8 VCL to work in D2005? Any
hints on what needs to be done?

It's really rather simple. If you have the Crystal 8 VCL working in Delphi 7, that is. If you have an early version of the Crystal 8 VCL, there are more significant changes due to design time support being dramatically altered in the Delphi 6 timeframe.


At some point in the .inc file, IIRC, there's a point where the IFDEF checking occurs, and one of the sections says:

{$IFDEF VER140} // Delphi 6 is version 14.0
  {$DEFINE DELPHI6}
....
{$ENDIF}

If you simply replace VER140 with CONDITIONALEXPRESSIONS, your packages will compile in every version of Delphi Win32 - Delphi 6, 7, 2005, 2006.

ConditionalExpressions was introduced with Delphi 6, and the underlying VCL hasn't changed (other than the design time stuff I mentioned) enough to conditionally compile anything since.

--
-Brion

There's no such thing as 'one, true way;'
- Mercedes Lackey
.



Relevant Pages

  • Re: Crystal 8 VCL in Delphi 2005
    ... My problem was that I was trying to convert from Delphi 5. ... >>Has anyone successfully converted Crystal 8 VCL to work in D2005? ... > If you simply replace VER140 with CONDITIONALEXPRESSIONS, ... > VCL hasn't changed (other than the design time stuff I mentioned) enough ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: RosAsm Team is Still Making Excuses
    ... It's rather amusing listening to Rene state that I ... the Delphi VCL. ... I never used linked list in Delphi. ... object-oriented stuff you've done and how this is going to make RosAsm ...
    (alt.lang.asm)
  • Re: 64-bit Windows for AMD 64 is here...
    ... Of course the VCL for NET is ... classes (or structs in Win32) around. ... although not as extreme as the Win32 API. ... Delphi is also very strong on native compilation. ...
    (borland.public.delphi.non-technical)
  • Re: My rant about the "throw out delphi and re-write it in C#" crowd.
    ... nothing out there that I've seen for WinForms that hasn't already been ... done to death by 3rd party vendors for VCL? ... thought we were talking about being able to port Delphi applications to ... Drop it on a Windows Form. ...
    (borland.public.delphi.non-technical)
  • Re: VCL Improvements - the Linus way ?
    ... open-sourcing the VCL (ie: all your competitors can see the source ... Perhaps Codergear can contemplate some way in which the Delphi ... community can submit fixes and enhancements, ... Perhaps is better for CodeGear to help ...
    (borland.public.delphi.non-technical)