Problems with compiling TeeChartPro v7.01 with source code

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Johan Ingemansson
Newbie
Newbie
Posts: 59
Joined: Fri May 28, 2004 4:00 am
Location: Sweden

Problems with compiling TeeChartPro v7.01 with source code

Post by Johan Ingemansson » Wed Sep 22, 2004 9:59 am

Hi,

I have first recompiled all the packages accordning to the install.txt file. Then I have copied the runtime packages to the Windows\Systems folder. Then I have addes the design time packages with Install packages->Add, this works fine with the two first packages, but when I´m adding the DCLTeePro77 package I get the following error:" The procedure entry @TeEngine@TeeChartValueList@SetValue@qqrixd could not be located in the dynamic link library Tee77.bpl. Before recompiling I have mode a modification in the TeeDefs.inc file, changing to single instead of double. I am a quite unfamiliar with this proccess so maybe I have missed something fundamental. Hope you can help me!

Best Regards,

Johan Ingemansson

Johan Ingemansson
Newbie
Newbie
Posts: 59
Joined: Fri May 28, 2004 4:00 am
Location: Sweden

Post by Johan Ingemansson » Wed Sep 22, 2004 11:00 am

Hi again,

If I dont´t change the {$DEFINE TEEVALUEDOUBLE} in the TeeDefs.Inc file the compilation works fine! But, this is the reason I bought the source code, to use single instead of double. Are there anyway around this problem?

Best Regards,

Johan Ingemansson

Johan Ingemansson
Newbie
Newbie
Posts: 59
Joined: Fri May 28, 2004 4:00 am
Location: Sweden

Post by Johan Ingemansson » Thu Oct 07, 2004 7:15 am

Hi agian,

I have now found that it is the TeeDownSampling.pas that raises an exception, incompatible types "single" and "double".

Best Regards,

Johan Ingemansson

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Thu Oct 07, 2004 10:52 am

Hi, Johan.

Yes, you're correct. I've already fixed this (the fix will be included in next maintenance release). All you have to do is change declarations from double to TChartValue:

Code: Select all

Private procedure SetTolerance(value :double);
 
Published property : tolerance : double;

Procedure TDownSamplingFunction.SetTolerance(value : double);

Changing these to TChartValue should fix the problems.
Marjan Slatinek,
http://www.steema.com

Johan Ingemansson
Newbie
Newbie
Posts: 59
Joined: Fri May 28, 2004 4:00 am
Location: Sweden

Post by Johan Ingemansson » Thu Oct 07, 2004 1:05 pm

THANK YOU!!!! :D

Post Reply