TQRChart, quickreport and Delphi 2010.

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
mivi71dk
Newbie
Newbie
Posts: 6
Joined: Wed Sep 23, 2009 12:00 am

TQRChart, quickreport and Delphi 2010.

Post by mivi71dk » Thu Feb 25, 2010 12:33 pm

Hi

I have just recieved a brand new labtop.
I came with Windows 7 64 Bits.

I have installed D2010, installed all updates available to Delphi 2010.
After D2010 and all updates the machine has been restarted.

After this I have installed (everything is installed in folder C:\D2010 Komponents\):

- TMS Component Suite version 5.5.0.0
- LMD Component Suite version the newest available.
- IBObjects version 4.9.9

Here everything works fine.

Now I do this:

- Install Quick Report 5.0.4.2 Pro Delphi 2010

I start D2010, make a test appl. with a quickreport on, a TMS Komp, a LMD Komp and an IBObject komp.
Save, Compile, and run.
All perfect.

Close D2010.
Runs

TeeChart8.06Delphi2010.exe
enter licens information, direct connection to internet and install in:

C:\D2010 Komponents\TeeChart 8.06 for Delphi 2010

Installation says:

Old TeeChart standard files found at C:\Program Files (x86)\Embarcadero\RAD Studio\7.0\Lib
Those files should be moved to a backup folder. Continue?

I press YES


I get question:

Old TeeChart standard files found at C:\Program Files (x86)\Embarcadero\RAD Studio\7.0\Obj
Those files should be moved to a backup folder. Continue?

I press YES



I open D2010, open my test appl. add TChartGrid, save, compile and run.
Evrything OK


I then wants to have TQRChart installed.
I do this:

- Open D2010
- Open C:\D2010 komponent\TeeChart 8.06 ...\Delphi14\QucikReport\TeeAR5D14.DPK
- I choose OPTIONS to ReeQR5D14.BPL, go to DESCRIPTION and puts in a dot in "REBUILD AS NEEDED"
- I Build project, gets an error at "Requires QR5RunD2008 and delete this line
- Build once more.
- Delphi adds BDERTL and QR5RunD2010 to required.
- Builds OK

- Open C:\D2010 komponent\TeeChart 8.06 ...\Delphi14\QucikReport\DclTeeQR5D14.DPK
- Build. OK
- Install...

Now I get this error (translated from danish):

The program cannot start, because DclTee814.bpl is missing on the computer.
Try reinstalling the program again to solve the problem.

I have a Acronis copy of my partition, so I can go back to a state just when TMS, LMD and IBO is installed and try again.
Can someone please tell me where I go wrong in the above procedure?


Regards
michael

mivi71dk
Newbie
Newbie
Posts: 6
Joined: Wed Sep 23, 2009 12:00 am

Re: TQRChart, quickreport and Delphi 2010.

Post by mivi71dk » Thu Feb 25, 2010 12:47 pm

After pressing OK to the above I get this:

"Can't load package C:\Users\Public\Documents\RAD Studio\7.0\bpl\TeeQR5D14.bpl
The module wasn't found"



The DclTee814.bpl Is located in

C:\D2010 Komponent\TeeChart 8.06 ...\Delphi14\Bin\DclTee814.bpl

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

Re: TQRChart, quickreport and Delphi 2010.

Post by Yeray » Thu Feb 25, 2010 2:24 pm

Hi mivi71dk,

I think that you have to correct some dependences.

- Open Tee8QR5D14.dpk. Check "Rebuild as Needed". Remove the reference to QR5RunD2008 and add the correct reference by yourself "QuickReport_Installation_Dir\QR5RunD2010.bpl". Remove also the reference to Tee814 and add the one for the Pro version: "TeeChartPro_Installation_Dir\Delphi14\System\TeePro814.bpl". Build it.

- Open DclTee8QR5D14.dpk. Check "Rebuild as Needed". Remove the reference to DclTee814 and add the one for the Pro version: "TeeChartPro_Installation_Dir\Delphi14\Bin\DclTeePro814". Build it.

The complete instructions for the TQRChart package can be found in the QuickReport article here.

Here are the sources and the compiled files that work for me here after following the instructions:
Attachments
compiled Tee8QR5D14.zip
(45.7 KiB) Downloaded 497 times
sources Tee8QR5D14.zip
(7.13 KiB) Downloaded 452 times
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

mivi71dk
Newbie
Newbie
Posts: 6
Joined: Wed Sep 23, 2009 12:00 am

Re: TQRChart, quickreport and Delphi 2010.

Post by mivi71dk » Thu Feb 25, 2010 2:29 pm

I actually just tried this:

The instructions were written tracing the installation of the TQRChart package from a binary TeeChart installation. As you've seen, for TeeChart sources installation, the TQRChart sources are in the "sources" folder instead of in the "QuickReport" folder.

On the other hand, TeeChart with sources includes the TeeRecompile tool that may help you in the process. I've tested it here and worked successfully, I've only had to edit manually the following:

- "C:\Program Files\Steema Software\TeeChart Pro 8.06 Full Source Code\Sources\Tee8QR5D14.dpk":
Change "{$IMPLICITBUILD ON}" for "{$IMPLICITBUILD OFF}"
Change "Tee814" for "TeePro814"
Change "QR5RunD2008" for "QR5RunD2010"

- "C:\Program Files\Steema Software\TeeChart Pro 8.06 Full Source Code\Sources\DclTee8QR5D14.dpk":
Change "{$IMPLICITBUILD ON}" for "{$IMPLICITBUILD OFF}"
Change "DclTee814" for "DclTeePro814"


According to an answer you gave GotoXY.

The above ended with TQRChart added ....

But after that the minute I open a project or start a new one I get the message DclTee8QR5D14.BPL is missing.

I give it a try with your files once more and let you know.

mivi71dk
Newbie
Newbie
Posts: 6
Joined: Wed Sep 23, 2009 12:00 am

Re: TQRChart, quickreport and Delphi 2010.

Post by mivi71dk » Thu Feb 25, 2010 2:33 pm

BTW - Should I not be able to just use the compiled version atteched here ?

mivi71dk
Newbie
Newbie
Posts: 6
Joined: Wed Sep 23, 2009 12:00 am

Re: TQRChart, quickreport and Delphi 2010.

Post by mivi71dk » Thu Feb 25, 2010 7:40 pm

No matter how I do it, I always end up with an error.

This last attempt:


Installed TeeChart8.06Delphi2010.exe

This was done after restore by acronis, which means to a point where only

- Windows 7 64 Bits
- D2010
- LMD Tools, TMS, QuickReport 5.0.4.2
- Also Jedi 3.39 is installed at this time (which I did not mention earlier)

At this point I can open every project I have ever made (except one using TQRChart), compile, run and I can create ne projects.
I can create a new project using 1 QuickReport and 1 komp from TeeChart.
Compile and run - Everything is perfect.

This time I have installed TeeChart in the place where it self suggest.
This is:

C:\Program Filex(x86)\Steema Software\TeeChart 8.06 for Delphi 2010\

I then delete everything in:

C:\Program Filex(x86)\Steema Software\TeeChart 8.06 for Delphi 2010\Delphi14\QuickReport

And copy the above attached source code into the same follder.

I open Tee8QR5D14.dpk, build it without any error
Afterwards I open DclTee8QR5D14.dpk, Build and install.
I get the message, that TQRChart has been installed (without any errors).

So far so good.


I then close D2010 and reopen it.
Now - First time I either create a new project or open an existing one I get an error like this:

Can't load package C:\Users\Public\Documents\RAD Studio\7.0\Bpl\DclTee8QR5D14.bpl
The module was not found.
Ignore the error and continue?
NOTE: Ignoring the error may cause components to be deleted or property values to be lost


I also get this error

The program cant start, because DclTeePro814.bpl is missing on the computer.
Try reinstalling the program again to solve to problem.


I get a lot of errors - one saying Class TQRChart not found.

Trying to compile a project resolves in a lot of componets not being present.


Whatever I have done so far resolves in an error the minute I install QRChart.

I do not know where to go from here.
Please help

mivi71dk
Newbie
Newbie
Posts: 6
Joined: Wed Sep 23, 2009 12:00 am

Re: TQRChart, quickreport and Delphi 2010.

Post by mivi71dk » Thu Feb 25, 2010 9:09 pm

Bonus info.

If I go to <Component> and <Install Packages> and uncheck TeeChart 8 for QuickReport 5 it all works again (except the one application where I actualy uses QRChart).

I then unchecked everything but TeeChart, TeeChart for QuickReport and QuickReport.
Now I could make applications using only the above.

I then rechecked TeeChart for QuickReport .... and I wounder why, but now it all works.

I really dont get it, but I am satisfied.
Can someone explain what had happened?

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

Re: TQRChart, quickreport and Delphi 2010.

Post by Yeray » Fri Feb 26, 2010 9:48 am

Hi mivi71dk,

I'd like to apologize for the time you've spent with this and, at the same time, thank you for sharing your experience that may help other users.

Delphi needs to know where to find the dcus and the bpls. If everything is correctly addressed you should find errors like those you found so, my bet would be that your delphi had some wrong or missing paths in its search or library path. That's why in the instructions I talked you about above, we try to minimize the possible problems moving the compiled files to the IDE's default locations.

Anyway, I'm happy to see that you've finally achieved it!
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

Post Reply