Page 1 of 1

Delphi 2006 QuickReport 4.06 and TeeChart 7.08

Posted: Fri Jul 28, 2006 10:11 am
by 9336326
I have followed the instructions here http://www.teechart.net/reference/modul ... cle&sid=13 several times.

I have
1. Changed the Quick Report runtime package from qrpt.bpl to QR4Run2006.bpl.

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

3. Gone to the "Component->Install packages" and remove the DclTQR77.bpl package from the list

4. Closed Delphi 2006 and removed all the files teeqr710.dcp, DclTQR710.dcp, TeeQr.dcu, qrtee.dcu, qrteereg.dcu, TeeQR.res, TeeQR710.bpl and DclTQR710.bpl files. Here is the batch file I used.

Code: Select all

del C:\Dev\Borlan~1\Bpl\TeeQR710.dcp
del C:\Progra~1\Borland\BDS\4.0\lib\TeeQR710.dcp
del C:\Dev\Borlan~1\Bpl\DclTQR710.dcp
del C:\Progra~1\Borland\BDS\4.0\lib\DclTQR710.dcp
del C:\Progra~1\Borland\BDS\4.0\lib\QRTee.dcu
del C:\Progra~1\Borland\BDS\4.0\lib\Backup_TeeChart\QRTee.dcu
del C:\Progra~1\Borland\Delphi7\Lib\Backup_TeeChart\QRTee.dcu
del "C:\Progra~1\steema\TeeChaRT708\Delphi10\QuickR~1\QRTee.dcu"
del C:\Dev\Borlan~1\Bpl\TeeQR710.bpl
del C:\WINDOWS\SYSTEM32\TeeQR710.bpl
del C:\Dev\Borlan~1\Bpl\DclTQR710.bpl
del C:\Progra~1\Borland\BDS\4.0\Bin\DclTQR710.bpl
5. Open Delphi 2006 and gone to the "File->Open project" menu and pick the TeeQR710.dpk package.

6. I have removed the the reference to the old Quick Report v3 package and replace it with the new runtime package. In this case qrpt.dcp to QR4RunD10.dcp. I have also, set the package build option to "Rebuild as needed".

7. It compiles correctly as does DclTQR710.dpk.

8 I copied all the files. Here is a copy of batch file

Code: Select all

copy C:\Dev\Borlan~1\Bpl\TeeQR710.bpl c:\Windows\System32
copy C:\Dev\Borlan~1\Bpl\DclTQR710.bpl c:\progra~1\borland\bds\4.0\bin
copy C:\Dev\Borlan~1\Bpl\TeeQR710.dcp c:\progra~1\borland\bds\4.0\Lib 
copy C:\Dev\Borlan~1\Bpl\DclTQR710.dcp c:\progra~1\borland\bds\4.0\Lib
rem copy C:\Dev\Borlan~1\Bpl\QRTeeReg.dcu c:\progra~1\borland\bds\4.0\Lib
copy "C:\Progra~1\steema\TeeChart708\Delphi10\QuickR~1\*.dcu" c:\progra~1\borland\bds\4.0\Lib
copy "C:\Progra~1\steema\TeeChart708\Delphi10\QuickR~1\*.res" c:\progra~1\borland\bds\4.0\Lib
11) When I try to install the package I get
This application failed to start because DclTee710.bpl was not found. Re-installing the application may fix this problem.
Could you send me the compiled code as you did for a previous user. I've been trying this now for a couple of days and I am very close to giving up.

Thanks

Posted: Fri Jul 28, 2006 10:22 am
by narcis
Hi JayJay,

Have you checked that Delphi 2006 search paths (Project\Options\Directories/Conditionals\Search Path) point to the folder where the package is located?

Posted: Fri Jul 28, 2006 10:30 am
by 9336326
Have you checked that Delphi 2006 search paths (Project\Options\Directories/Conditionals\Search Path) point to the folder where the package is located?
Do you mean the search paths of the TeeQR710.dpk and the DclTQR710.dpk package and point to the folder of which package?

Regards

Posted: Fri Jul 28, 2006 10:36 am
by 9336326
DclTee710.bpl is located in c:\dev\borland studio projects\bpl

And the Project\Options\Directories/Conditionals\Search Path on the two packages TeeQR710.dpk and the DclTQR710.dpk is

C:\Program Files\steema\TeeChart708\Delphi10\QuickReport; c:\dev\borland studio projects\bpl;

There is only one copy of DclTee710.bpl on my machine.

Regards,

Posted: Fri Jul 28, 2006 10:37 am
by narcis
Hi JayJay,

Sorry, I overlooked the error message.
11) When I try to install the package I get
This application failed to start because DclTee710.bpl was not found. Re-installing the application may fix this problem.
This error means that TeeChart v7 for BDS 2006 was not loaded. You should check that its Bin and Lib folders are listed in the search path list and that its packages are enabled at Project\Options\Packages.

Posted: Fri Jul 28, 2006 10:46 am
by 9336326
NarcĂ­s,

Thanks for getting back to me.

Sorry for being pedantic but you said
This error means that TeeChart v7 for BDS 2006 was not loaded. You should check that its Bin and Lib folders are listed in the search path list and that its packages are enabled at Project\Options\Packages.
Do you mean the bin and lib folders of TeeChart v7 for BDS 2006 are to be listed in the search path of the two packages TeeQR710.dpk and the DclTQR710.dpk?

Thanks

Posted: Fri Jul 28, 2006 10:51 am
by narcis
Hi JayJay,

Sorry if I haven't explained myself properly. I mean that those paths need to be set for BDS 2006 so whenever you run it TeeChart v7 packages will be loaded. It could also help enabling the left-bottom "Default" checkbox at Project\Options.

Posted: Fri Jul 28, 2006 12:29 pm
by 9336326
Probelm solved, I removed TeeChart 7.08 and installed 7.07 and then removed 7.07 and reinstalled 7.08 and noticed that files in delphi projects directory were not reinstalled so I guess the moral of the story is that there were some TeeChart Files in the delphi projects directory that belonged to the 7.07 build not the 7.08 build and that the TeeQR710.dpk and the DclTQR710.dpk packages were compiling with those and then not installing properly.

Thanks for your help