Tee7New.exe error if recompile source with TEEVALUESINGLE

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Tee7New.exe error if recompile source with TEEVALUESINGLE

Post by SteveP » Thu Feb 24, 2005 3:20 pm

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.

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

Post by Marjan » Thu Feb 24, 2005 4:16 pm

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.
Marjan Slatinek,
http://www.steema.com

David Novo
Newbie
Newbie
Posts: 71
Joined: Fri Jul 02, 2004 4:00 am
Location: Culver City
Contact:

Post by David Novo » Sat Feb 26, 2005 6:59 pm

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.

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Mon Feb 28, 2005 2:30 pm

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

Leroy Casterline
Newbie
Newbie
Posts: 50
Joined: Wed Mar 10, 2004 5:00 am

Post by Leroy Casterline » Fri Mar 11, 2005 1:34 pm

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.

SteveP
Advanced
Posts: 132
Joined: Sun Sep 07, 2003 4:00 am

Post by SteveP » Fri Mar 11, 2005 2:50 pm

Thanks, that's where it's located.

Post Reply