Teechart 7.06, Quickreport 4 and Delphi 7

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
jruissalo
Newbie
Newbie
Posts: 1
Joined: Wed Jan 05, 2005 5:00 am

Teechart 7.06, Quickreport 4 and Delphi 7

Post by jruissalo » Wed Feb 01, 2006 10:27 am

I cant install TQRChart to Delphi 7. I try to install DclTQR77.dpk but always get "Dll missing - qrpt70.bpl is missing. How to tell Teechart to use QR4RunD7.bpl ??? (I guess thats the replacement for qrpt70.bpl)

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

Post by Narcís » Wed Feb 01, 2006 1:15 pm

Hi jruissalo,

To install TeeChart Pro v7 VCL being compatible with Quick Report v4 you have to follow the instructions here:
The install instructions included with TeeChart distribution are written for
Quick Report 3. If you're using Quick Report v4, the same rules apply, but
with two additional things:

1) In QR v4 package names have changed. So, the Quick Report runtime package
has been changed from qrpt70.bpl to QR4RunD7.bpl. This means you have to
remove the reference to old Quick Report package and replace it with new
version.

2) Set the TQRChart runtime and design time package rebuild option to
"Rebuild as needed".

Here are the step-by-step instructions on how to recompile/reinstall the
TQChart component packages (TeeChart v7, Quick Report v4.03, Delphi 7). The
same rules, but with different package names can be used for older TeeChart
versions:

1) Go to the "Component->Install packages" and remove the DclTQR77.bpl
package from the list (the "Remove" button).

2) Close Delphi 7.

3 (Very important!!). Search all directories in "Delphi search path" list
and remove all old TQRChart component files. This is crucial if you want to
recompile TQRChart component successfully. Basically, locate and delete
teeqr77.dcp, DclTQR77.dcp, TeeQr.dcu, qrtee.dcu, qrteereg.dcu, TeeQR.res,
TeeQR77.bpl and DclTQR77.bpl files. Then, and only after you're 100% sure
you removed all old TQRChart files, proceed with the next steps. If you're
using different a TeeChart version, the same rules apply - remove all old
TQRChart component files *before* recompiling TQRChart component
packages.

4) Open Delphi 7.

5) Next, close all projects. Then go to the "File->Open project" menu and
pick the TeeQR77.dpk package.

6) For <b>Quick Report 4</b>, you'll have to remove the reference to the old
<b>Quick Report v3</b> package and replace it with the new runtime package.
For Delphi 7, you should remove the qrpt70.dcp file (or similar, depending
which QR version you previously used) and replace it with the QR4RunD7.dcp
package. Also, set the package build option to "Rebuild as needed".

7) Now click the "Compile" button. The package should compile correctly. If
you receive errors, see "TroubleShooting" below.

8) Open the DclTQR77.dpk package ("File->Open project" menu).

9) Now click the "Compile" button. The package should compile automatically.
If you receive errors, see "TroubleShooting" below.

10) Copy the compiled packages (most probably they were compiled to
Delphi7ProjectsBPL directory, but the actual directory might depend on
platform settings):

- TeeQR77.bpl to WindowsSystem (or WinNTSystem32) directory
- DclTQR77.bpl to Delphi7Bin directory
- TeeQR77.dcp to Delphi7Lib directory
- DclTQR77.dcp to Delphi7Lib directory
- QRTeeReg.dcu, QRTee.dcu to Delphi7Lib directory
- all *.res files to Delphi7Lib directory

11) Go to the "Component->Install packages" press the "Add" button and pick
the DclTQR77.bpl package (located in Delphi7Bin directory - if you followed
the previous steps. This should install the QRChart component at the QReport
component palette.

12) Remember to check the "Project->Options->Packages" dialog. The new
package name should be listed in the bottom edit-box.

13) IMPORTANT: Don't forget to copy all newly recompiled *.dcu files (from
the directory where you keep the files TeeQR77.dpk and DclTQR77.dpk) to the
Delphi7Lib directory.

If you're using different Delphi and/or TeeChart versions, then you can
follow the same rules and simply replace package names. For example, if
you're using TeeChart v6 with Delphi 5, then package names will change to :
TeeQR65, DclTQR65, qrpt50.bpl to QR4RunD5.bpl, etc...
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

chris
Newbie
Newbie
Posts: 5
Joined: Fri Sep 03, 2004 4:00 am

same problem....

Post by chris » Wed Jul 05, 2006 9:08 am

Hello

I have exactly the same problem. But not the luck the thread founder had.

Everything went perfectly... after 2 hours of try and error..

...but when I reached step 9.. I came to a end.

As written I only need to recompile the DclTQR77.dpk because it is using parts of the TeeQR77.dpk. And I do not need to change any file in it?!

But delphi is telling me that it is missing a QRpt package.
When I double click on the requiered file DclTee77.dcp it is telling me it could not found the dcp or the the ...bpl file.

Any idea?

chris

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

Post by Narcís » Wed Jul 05, 2006 9:34 am

Hi Chris,

It seems you haven't updated the Quick Report reference in TeeQR77.dpk as told in steps 5, 6 and 7. Those steps tell you how to update QR package version and recompile TeeQR77, then you'll have to proceed with DclTQR77.
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

chris
Newbie
Newbie
Posts: 5
Joined: Fri Sep 03, 2004 4:00 am

Post by chris » Wed Jul 05, 2006 9:49 am

oh, yes I did and delphi compiled with no error that is the reason!

do I have to install the package TeeQR77.dpk before I can recompile the DclTee77.dpk ?

All I had to do is change the requierement from ???.dcp to QR4RunD7.dcp, or am I wrong ?
And Delphi recompiled.

Do I have to put the build TeeQR77.BPL somewhere before I recompile the DclTee77.dpk?

Or has the bpl export path to be in the search path of dephi?

regards

chris

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

Post by Narcís » Wed Jul 05, 2006 10:01 am

Hi Chris,
do I have to install the package TeeQR77.dpk before I can recompile the DclTee77.dpk ?

All I had to do is change the requierement from ???.dcp to QR4RunD7.dcp, or am I wrong ?
And Delphi recompiled.
No, you shouldn't install it, just change the reference as you said and set the Rebuild as needed option before compiling.
Do I have to put the build TeeQR77.BPL somewhere before I recompile the DclTee77.dpk?

Or has the bpl export path to be in the search path of dephi?


DclTee77 should have TeeQR77 output paths on its Search Path (at Project\Options\Directories/Conditionals\Search Path) so it finds the recompiled packages.
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

chris
Newbie
Newbie
Posts: 5
Joined: Fri Sep 03, 2004 4:00 am

Post by chris » Wed Jul 05, 2006 11:22 am

well I guess we are coming closer..
I add the export path..with no benefit....

1. compile of TeeQR77.dpk worked
2. should be a simple recompile of DclTQR.dpk.

maybe I did not use the right one.

I installed the teechart with installer under c:\program files\steema\.....\delphi7

Do I have to add additional path to delphi to this folder or any subfolder of this installation ?

I opened under path c:\program files\steema\....\delphi7\QuickReport\ the package TeeQR77.dpk to change the file from xyz.dcp to QR4RunD7.dcp (stored under c:\program files\borland\Delphi7\Projects\bpl\QR4RunD7.dcp).

So the package has following file requieres:
QR4RunD7.dcp
Tee77.dcp
TeeDB77.dcp
TeeUI77.dcp
vcl.dcp
vcldb.dcp
and contains QRTee.pas

After it has been compiled I am closing all files...
Open DclTQR77.dpk under c:\program files\steema\....\Delphi7\QuickReport\ .

The package contains a TeeQRTeeReg.pas and 4 requieres:
DclTee77.dcp
TeeDB77dcp
TeeQR77.dcp
vcl.dcp

when I double click to read the requiered files, I get messages instead of the file.

Package Source DclTee77.dcp or compiled Package DclTee77.bpl could not be found (Translation from german, sorry)!

When I double click on TeeQR77.dcp I get an new window that is showing me the last edited package the TeeQR77.dpk and the QR4RunD7.dcp in it.

So far I guess I was right ...

After pressing compile I get this message the editor window stops at TeeQR77 under "requieres" and shows the Error Package QRpt not found.

so where is my mistake ?

regards

chris

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

Post by Narcís » Wed Jul 05, 2006 11:34 am

Hi Chris,
Package Source DclTee77.dcp or compiled Package DclTee77.bpl could not be found (Translation from german, sorry)!
DclTee77 is TeeChart v7 design time package. You should try adding this package path to the project search path.
After pressing compile I get this message the editor window stops at TeeQR77 under "requieres" and shows the Error Package QRpt not found.

so where is my mistake ?
You could also try adding Quick Report packages path at this project's search path.
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

chris
Newbie
Newbie
Posts: 5
Joined: Fri Sep 03, 2004 4:00 am

Post by chris » Wed Jul 05, 2006 11:49 am

I done it.. I put it into the delphi as well as into the project search path...
no change..

Something is strange...
delphi is marking under
"requiers"

the line with the TeeQR77
is marked... So the problem should ocour in the TeeQR77.dpk or .dcp

Nothing seems to work ...

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

Post by Narcís » Wed Jul 05, 2006 12:02 pm

Hi Chris,

Have you checked that TeeQR77 Quick Report package reference was properly changed and that you removed ALL old files as told in the instructions?
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

chris
Newbie
Newbie
Posts: 5
Joined: Fri Sep 03, 2004 4:00 am

Post by chris » Wed Jul 05, 2006 1:22 pm

...so far it is running

some how there was an old installation of teechart on my pc.
Search function is the best friend...

now it is runing...

thanks for the help

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

Post by Narcís » Wed Jul 05, 2006 2:31 pm

Hi Chris.

You're welcome.

I'm glad to hear it's working.
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