![]() | Steema Issues DatabaseNote: 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. |
| Summary: | If is turned off "Link with Runtime packages" in C++ Builder a runtime exception appears. | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | sandra pazos <sandra> |
| Component: | Series | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | CONFIRMED --- | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | 21.170329 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| URL: | http://www.teechart.net/support/viewtopic.php?f=3&t=16589 | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
| Attachments: | Message Error | ||
Created attachment 765 [details]
Message Error
|
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;