Inconvenient Compile Errors In My Program

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Rick Hillier
Newbie
Newbie
Posts: 16
Joined: Tue Apr 02, 2013 12:00 am

Inconvenient Compile Errors In My Program

Post by Rick Hillier » Wed Apr 03, 2013 1:22 pm

Greetings,

I just upgraded to the VCL verison of TeeChart Pro yesterday (Apr 2). I managed to get it installed for QReport5 after a bit of tinkering (a couple of required files were not what they needed to be for QR5). Anyway, in a test project, I dropped a QReport on a form and then dropped a QRChart in the report, set up one quick series and compiled it. All of the items in the uses clauses were not able to be found in the module QRTee and I had to change them, for example...

From:

Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, TeeProcs, TeEngine, Chart, QuickRpt, TeCanvas,
{$IFNDEF NOUSE_BDE}
DBChart,
{$ENDIF}
StdCtrls, Menus, ExtCtrls;

to:

Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, VclTee.TeeProcs, VclTee.TeEngine, VclTee.Chart, QuickRpt, VclTee.TeCanvas,
{$IFNDEF NOUSE_BDE}
VclTee.DBChart,
{$ENDIF}
StdCtrls, Menus, ExtCtrls;

I am just curious... why was this necessary and will this affect something down the line that I haven't tried yet?

>>> Rick <<<

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Inconvenient Compile Errors In My Program

Post by Yeray » Thu Apr 04, 2013 3:44 pm

Hi Rick,

Try adding VCLTee at "Tools->Options->Environment Options->Delphi Options->Library->Unit scope names" to let the IDE find the according packages.

The unit scopes appeared with XE2 forcing us to add the VCLTee and FMXTee prefixes to TeeChart units. See more details here:
http://docwiki.embarcadero.com/RADStudi ... cope_Names
http://docwiki.embarcadero.com/RADStudi ... i_Compiler
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply