Page 1 of 1

Tee7New.exe error if recompile source with TEEVALUESINGLE

Posted: Thu Feb 24, 2005 3:20 pm
by 9333098
I get the following error when attempting to run Tee7New.exe (from TChart 7.04) after recompiling the source code for D7 (after having first installed the binary which is what installs Tee7New.exe).

"The procedure entry point @Teengine@TChartSeries@AddArray$qqrpxdxi could not be located in the dynamic link library Tee77.bpl"

This happen after editing TeeDefs.inc and changing
from {.$DEFINE TEEVALUEDOUBLE}
to {$DEFINE TEEVALUESINGLE}
so that TChart uses type single instead of double.

Posted: Thu Feb 24, 2005 4:16 pm
by Marjan
Hi, Steve.

Have you also recompiled the Tee7New.dpr demo after you switched to single precision and replaced your double bpls with single bpls ? I never tested Tee7New with single precision libraries you it's possible recompiling with single precision bpls might generate some erroes. If this is true we'll have to add several ifdefs to demo to make it work with double and single precision packages.

Posted: Sat Feb 26, 2005 6:59 pm
by 9338026
We have recompiled with teeValueSingle and had no problems. The only thing to remember is the usual stuff, make sure that your project is pointing to the modified source, and not the old dcu's in the lib directly. The bpl's can usually stay the same, since they are usually used just to register TChart with the IDE, and won't be affected by a recompile like that.

Also, if you are not going to add using the ADDXY, but by passing in the dynamic arrays directly (as demostrated in Marjan's article on how to speed up TCHART) you have to make sure you use array's of single and not double.

Posted: Mon Feb 28, 2005 2:30 pm
by 9333098
Marjan,

I get error "Incompatible types: Integer and String" in the unit
'Axis_FirstLastLabels.pas' at Form.Create in the line
Chart1.Axes.Bottom.OnDrawLabel:= BottomAxisDrawLabel;

when recompiling TeeNew.dpr from January 21, 2004. I cannot recall where I downloaded this from to check if there is a newer version.

Steve

Posted: Fri Mar 11, 2005 1:34 pm
by 9336236
As I recall, you'll find the latest Tee7New source code in the Examples/Features directory under your *binary* installation directory. A BCB binary installation installs the BCB Tee7New source code and a Delphi binary installation installs the Delphi source code.

Posted: Fri Mar 11, 2005 2:50 pm
by 9333098
Thanks, that's where it's located.