Re: Crystal 8 VCL in Delphi 2005
- From: "Brion L. Webster" <brion.webster@xxxxxxxxxxxxxxxxxxxxxx>
- Date: 22 Dec 2005 13:17:32 -0700
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 .
- Follow-Ups:
- Re: Crystal 8 VCL in Delphi 2005
- From: Tanya
- Re: Crystal 8 VCL in Delphi 2005
- References:
- Crystal 8 VCL in Delphi 2005
- From: Tanya
- Crystal 8 VCL in Delphi 2005
- Prev by Date: Re: Voice text management with Delphi
- Next by Date: Re: Coexistence of 3rd party librarys with different Delphi versions
- Previous by thread: Crystal 8 VCL in Delphi 2005
- Next by thread: Re: Crystal 8 VCL in Delphi 2005
- Index(es):
Relevant Pages
|