Page 1 of 1

Problems with compiling TeeChartPro v7.01 with source code

Posted: Wed Sep 22, 2004 9:59 am
by 9232649
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

Posted: Wed Sep 22, 2004 11:00 am
by 9232649
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

Posted: Thu Oct 07, 2004 7:15 am
by 9232649
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

Posted: Thu Oct 07, 2004 10:52 am
by Marjan
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.

Posted: Thu Oct 07, 2004 1:05 pm
by 9232649
THANK YOU!!!! :D