Access violation with TeeChart, Fast Reports with C++Builder

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
pcs_user
Newbie
Newbie
Posts: 4
Joined: Thu Oct 05, 2017 12:00 am

Access violation with TeeChart, Fast Reports with C++Builder

Post by pcs_user » Mon Mar 19, 2018 12:52 pm

I’m getting an error when target platform is set to Win64 (VCL or FMX) and using a TeeChart in a Fast Reports report.
Fast Reports thinks the problem is in TeeChart.

To get the access violation the chart needs to have some data in it.
Error Message:
Access violation at address 45B70B in module ‘rtl250.bpl’. Read of address 8E.
Tried: Windows 7 & 10
CX: 10.2.3
CX: 10.2.2
TeeChart Pro v2017.23.171221
Fast Reports: VCL: v5.6.11; FMX: v2.5.11
Attachments
test.zip
(58.84 KiB) Downloaded 747 times

pcs_user
Newbie
Newbie
Posts: 4
Joined: Thu Oct 05, 2017 12:00 am

Re: Access violation with TeeChart, Fast Reports with C++Builder

Post by pcs_user » Wed Mar 21, 2018 11:38 am

Don’t install “TeeChartVCLFMX-2017.23.exe” if your using Fast Reports with x64.
Had to go back to CX 10.2.0 & TeeChartVCLFMX-2017.22.exe.

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

Re: Access violation with TeeChart, Fast Reports with C++Builder

Post by Yeray » Fri Mar 23, 2018 11:25 am

Hello,

I can build "FastReport 6.0 Tee Components" and "FastScript 1.9 Tee Components" using the recompile.exe tool shipped with Fast Reports 6 Trial version for both win32 and win64.
recompile_2018-03-23_12-21-20.png
recompile_2018-03-23_12-21-20.png (17.07 KiB) Viewed 12150 times
recompile_2018-03-23_12-20-59.png
recompile_2018-03-23_12-20-59.png (17.92 KiB) Viewed 12148 times
Then I could drop a TfrxChartObject to a Form in a VCL project, and it compiles without problems in both win32 and win64.

Am I missing anything?
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

pcs_user
Newbie
Newbie
Posts: 4
Joined: Thu Oct 05, 2017 12:00 am

Re: Access violation with TeeChart, Fast Reports with C++Builder

Post by pcs_user » Fri Mar 23, 2018 2:30 pm

The Fast Reports build works fine for win32 and win64.
It’s running a program with the TfrxChartObject in it that doesn’t not work in win64.
I sent a test case for you. Run it you’ll see.

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

Re: Access violation with TeeChart, Fast Reports with C++Builder

Post by Yeray » Mon Mar 26, 2018 9:23 am

Hello,

I've been able to run the test application without problems. I just had to copy the fs25.bpl, frx25.bpl, fsTee25.bpl and frxTee25.bpl files, from LibD25 to SysWOW64 and from LibD25x64 to System32 folders.
Project1_2018-03-26_11-18-08.png
Project1_2018-03-26_11-18-08.png (22.69 KiB) Viewed 12122 times
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

pcs_user
Newbie
Newbie
Posts: 4
Joined: Thu Oct 05, 2017 12:00 am

Re: Access violation with TeeChart, Fast Reports with C++Builder

Post by pcs_user » Mon Mar 26, 2018 3:24 pm

Yeray,

Thanks for working out this Fast Reports problem.

Alan

Post Reply