Installation TChart 8, QuickReport 4 and Delphi 6

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
AuditMaster
Newbie
Newbie
Posts: 3
Joined: Fri Jan 25, 2008 12:00 am

Installation TChart 8, QuickReport 4 and Delphi 6

Post by AuditMaster » Tue Jan 29, 2008 11:28 am

Hello,
I have Delphi 6 and have just upgraded to QuickReport 4.07
I have installed TChart Pro 8.02 (no source)

Both QR and TChart appear to be installed just fine.

I have tried to add the TQR components to D6 but when I try and install
DclTQR86.dpk or TeeQR86.dpk I get
Application failed to start because qrpt60.bpl was not found
Now, this APPEARS to have been deleted during the installation of QR 4.
If I simply restore qrpt60.bpl then I get
Cannot load package qrpt60. it contains qrenved

Obviously I am way off beam somewhere. Can anyone help?

Thanks

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jan 29, 2008 11:40 am

Hi AuditMaster,

You could try using the packages at C:\Program Files\Steema Software\TeeChart 8.02 for Delphi 6\Delphi6\QuickReport. You may also need to adapt them to you QuickReport version as described in the QuickReport article here.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

AuditMaster
Newbie
Newbie
Posts: 3
Joined: Fri Jan 25, 2008 12:00 am

Post by AuditMaster » Thu Feb 07, 2008 9:04 am

Hello,

OK, I now have QR 4 & TeeChart Pro 8 installed, components appear on the pallette and they work side by side no problem (applications compile a run fine). Its just the TQRChart component that is giving me trouble.

I can drop a TQRChart component on my form. I can add series to it and play with it at design time. I can compile it. The problem comes at runtime when I get

exception EAccessViolation with message "Access violation at address 0041E896 in module Project1.exe. Read of address 00000008

To try to pin down the root cause I have deleted the TQRChart component from the form and used the forms "OnCreate" method thus..

PQRChart1 := TQRChart.create(Self);
PQRDBChart1 := TQRDBChart.create(Self);

The create method works, but the QRChart does not appear. Not surprising really as its not gone through any additional "initialisation" that happens when it is created as a form component. Does that make sense?

Please, can anyone help

Thanks

Stuart

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Feb 07, 2008 11:20 am

Hi Stuart,

Could you please try to run this example? This works fine for us here.

Code: Select all

uses QrTee, Series;

procedure TForm1.FormCreate(Sender: TObject);
var PQRChart1: TQRChart;
    line1: TLineSeries;
begin
  line1 := TLineSeries.Create(self);
  line1.FillSampleValues(20);

  PQRChart1 := TQRChart.create(Self);
  PQRChart1.Parent := Self;
  PQRChart1.SetBounds(130,100,500,400);
  PQRChart1.Chart.AddSeries(line1);
end;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

AuditMaster
Newbie
Newbie
Posts: 3
Joined: Fri Jan 25, 2008 12:00 am

Post by AuditMaster » Sat Feb 09, 2008 11:19 am

Thanks for that, I didn't make myself clear, sorry. Its not setting information at run time that is the real issue. The main point is that I cannot run an application when a chart component is dropped on the form. It will compile fine, but at run time it fails as described. The only reason I did the specific create is to help see if we can locate the problem.

Anyway, I decided to reinstall delphi on my laptop to provide a clean basis for investigation. The standard install of D6 (Enterprise) with update 2 applied and the "included" version of TChart works fine. As soon as I upgrade to TeeChart 8 I run into problems. Nothing to do with QR, place a standard chart component on a blank form and try to compile it and I get the following

Fatal error: Unit TeeProcs was compiled with a different version of system.RTLVersion

I do not want to go on and upgrade to QR4 and then try and rebuild the TQRchart components until I can drop a V8 Chart on a form and compile it (not a QRChart component, just a straightforward Chart)

Any thoughts

Thanks

Stuart

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Feb 12, 2008 10:36 am

Hi Stuart,

Ok, you can solve RTL issue as told here.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply