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 1871 - If is turned off "Link with Runtime packages" in C++ Builder a runtime exception appears.
Summary: If is turned off "Link with Runtime packages" in C++ Builder a runtime except...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: 21.170329
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL: http://www.teechart.net/support/viewt...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-23 11:37 EDT by sandra pazos
Modified: 2017-05-23 11:41 EDT (History)
0 users

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


Attachments
Message Error (26.56 KB, image/jpeg)
2017-05-23 11:41 EDT, sandra pazos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sandra pazos 2017-05-23 11:37:29 EDT
If is turned off "Link with Runtime packages" in C++ Builder a runtime exception appears. 
The problem isn’t produced using VCL code, is only produced by c++Builder.
To check the problem, use the code below with the "Link with Runtime packages" disabled. 

void __fastcall TForm1::FormCreate(TObject *Sender)
{
		Series1 = new TLineSeries( this );
		Chart1->AddSeries(Series1);
		Series1->AddXY(3,40);
		 Series1->AddXY(12,23);
		 Series1->AddXY(8,3);
}

The code below in VCL with "Link with Runtime packages" disabled works fine.

Uses Series;
var Series1:TLineSeries;
procedure TForm3.FormCreate(Sender: TObject);
begin
         Series1 :=  TLineSeries.Create(Self);
         Chart1.AddSeries(Series1);
         Series1.AddXY(3,40);
         Series1.AddXY(12,23);
         Series1.AddXY(8,3);
end;
Comment 1 sandra pazos 2017-05-23 11:41:24 EDT
Created attachment 765 [details]
Message Error