Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1827 - in recent versions (incl. 2017.20.170306) files in Source\VCL folder have VCLTee prefix, but no prefix in uses clause
Summary: in recent versions (incl. 2017.20.170306) files in Source\VCL folder have VCL...
Status: RESOLVED WORKSFORME
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Install (show other bugs)
Version: 20.170306
Hardware: PC Windows
: --- major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 11:11 EDT by Roumen
Modified: 2018-02-26 11:29 EST (History)
1 user (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roumen 2017-03-28 11:11:40 EDT
Versions 2017.20.170306, 2016.18.160504, Delphi 10.1 Berlin Enterprise

After using TeeRecompile, it generates VCL subfolder of Source folder with source. But the units placed there are not usable, because the uses clauses are not changed to have the VCLTee prefix (FMXTee prefix is set properly).
I can use the .DCUs in LIB subfolder, but I cannot do debugging, because of VCL source inconsistency.
For example:
unit VCLTee.TeeStore;
uses
  {$IFNDEF FMX}
  {$IFNDEF LINUX}
  Windows,
  {$ENDIF}
  {$ENDIF}
  Classes, SysUtils,
  {$IFDEF D18}
  System.Generics.Collections,
  {$ENDIF}
  {$IFDEF FMX}
  System.UITypes, FMXTee.Procs, FMXTee.Engine, FMXTee.Chart
  {$ELSE}
  {$IFDEF D16}
  System.UITypes,
  {$ENDIF}
  TeeProcs, TeEngine, Chart
  {$ENDIF}
  ;
I started adding VCLTee prefix manually, but in VCLTee.TeeEdiGrad it keeps adding the same unit in the interface uses section (most likely of the forward declaration)

Because of the above the source provided is not useable as normal program source, but just for reference - to look in it.

Would it be possible to make the source fully usable (as FMX version)?

The same is for version

Best regards

Roumen
Comment 1 Roumen 2017-04-22 13:12:06 EDT
Any progress? Non confirmed still?
Do I need to write a tool that:
- makes sure that all used units are in vcl subfolder
- makes sure that all files have VCLTee prefix in their name
- modifies the their uses clauses to insert VCLTee prefix?
Comment 2 sandra pazos 2018-02-26 11:29:18 EST
Hello 

The problem doesn't appear for us, using latest Teechart Pro VCL/FMX v2017.23.
Any way, I would like suggest you add the VCLTee prefix in Unit Scopes Names of Rad Studio 10.1 Berlin. Here's indicates how can do it: 
http://www.teechart.net/support/viewtopic.php?f=3&t=16321

Thanks in advance