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
Installation TChart 8, QuickReport 4 and Delphi 6
-
- Newbie
- Posts: 3
- Joined: Fri Jan 25, 2008 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 3
- Joined: Fri Jan 25, 2008 12:00 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
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
Hi Stuart,
Could you please try to run this example? This works fine for us here.
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 3
- Joined: Fri Jan 25, 2008 12:00 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
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
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |