Page 1 of 1

Teechart 8 Pro and IntraWeb?

Posted: Wed Mar 12, 2008 4:01 pm
by 10548508
Hi.
I just bought TeeChart Pro 8 (Source). (I use Rad Studio 2007 dec update)
How do I make it work with IntraWeb (v9)? There is no component installed in the IDE and I can't find TeeChart v8 on your download page for IntraWeb?

Regards
Claes Enskär

Posted: Thu Mar 13, 2008 10:20 am
by narcis
Hi Claes,

I'm sorry but we don't have IntraWeb packages for TeeChart v8. You should download v7 packages from the download page and adapt them to your environment, something similar to what's explained in the QuickReport article here.

Posted: Thu Mar 13, 2008 11:33 am
by 10548508
Ok. I'll try that.

Thank You.

Posted: Thu Mar 13, 2008 11:50 am
by yeray
Hi Claes,

I've just sent the files I prepared for another customer asking for something similar. Note that they are prepared for BDS 2006, so I recommend you to edit the files and change the paths to your environment.

TeeChart 8 and IntraWeb 9 again

Posted: Wed Apr 02, 2008 4:28 pm
by 10048408
Hi,

I also have problems getting the TCharts working with IntraWeb 9 in Delphi 2007. In the old Delphi 7 version of my program everything was running smoothly with the Unit IWCompTeeChart in the uses clause. This unit is not recognized in the Delphi 2007 IDE, and I guess I have to reinstall it somehow. - Can I use the files in the old TeeChartPro7_Intraweb7_Delphi directory? if yes, how?

Claus

Posted: Fri Apr 04, 2008 8:12 am
by yeray
Hi Claus,

Here is you answer.

TIWChart with Intraweb 9.0 and Delphi 2007

Posted: Sun Apr 06, 2008 3:47 pm
by 10048408
Dear Yeray,

Thank you for the files. They installed the IW Chart component smoothly. My Intraweb application has several forms/pages, and in one of them there a 2 simple TCharts each with a IWChart component linked to it. The application compiles fine, and during runs all pages displays OK, except the one with the TChart. When trying to display this page, the application crashes (as far as I can see in the Systems unit in a procedure called GetDynaMethod). When the 2 charts are removed, the page displays OK again. ....Any suggestions?

Claus

Posted: Mon Apr 14, 2008 8:27 am
by yeray
Hi Claus,

Please, could you send us a simple example project we can run "as-is" to reproduce the problem here?
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

TIWChart with Intraweb 9.0 and Delphi 2007

Posted: Sat Apr 19, 2008 2:16 pm
by 10048408
Hi Yeray,
I uploaded a simple IntraWeb (VCL for the Web) project to your server. It contains nothing but the TChart and the TIWChart. When this application is compiled, I get the error: [DCC Error] Unit6.pas(8): F2051 Unit IWCompTeeChart was compiled with a different version of IWBaseControl.TIWBaseControl.InitPainthandle.
- It seems that the IDE cannot resolve the IWCompTeeChart although the IWCompTeeChart.dcu is in the search path. - Version problem?
Claus

Posted: Mon Apr 21, 2008 7:56 am
by yeray
Hi Claus,

Thank you for the project, but I think you got confused and sent us the wrong project. I only can see a QuickReport and a TQR in the form.

Could you please send it again?

TIWChart with Intraweb 9.0 and Delphi 2007

Posted: Mon Apr 21, 2008 9:27 am
by 10048408
Dear Yeray,
OK, I got confused! - The correct file has now been uploaded.
Claus

Posted: Mon Apr 21, 2008 11:14 am
by yeray
Hi Claus,

Modifying a few lines from your project, according to my environment, it worked fine for me.

And the error you get "Unit IWCompTeeChart was compiled with a different version" makes me think that you suffer some search path conflict. Please, ensure that the search path from where you installed the package I sent you is before the search path of your tests installing the component.

I recommend you to verify all delphi's search paths and library paths are correct and in the order of preference you wish.

TIWChart with Intraweb 9.0 and Delphi 2007

Posted: Wed Apr 23, 2008 5:05 pm
by 10048408
Hi Yeray,
It worked :lol: ! - I previously had the .dcu's etc. copied to the CodeGear Lib directory which is in my search path. - But that is evidently not what is needed. Including the recommended search path did the trick (although it beats me what is actually going on).
Thank you
Claus