Page 1 of 1

TeeChart 8.02 QReport

Posted: Wed Apr 09, 2008 6:53 pm
by 9232023
I have upgraded from Ver. 7 and now, upon recompiling existing source, the exe crashes before it ever gets displayed. Stepping through the code, I find that the crash occurs when the form with the QReport and TQRChart is created. At that point the cursor never returns and the CPU usage goes up to about 75%

This is not good! I have several years of legacy code that I need to recompile at various times. I need to get this to work or figure out how to get back to where I was before. Actually I never wanted to install 8, but after a computer crash some months back, I was reinstalling Borland and all TChart stuff when I saw the QRChart flickering problem that I had never seen before. I have been ignoring it because it didn't seem to affect compiling or running the app. So I seem to have dug myself a deeper hole by trying to fix the original problem.

Any help would be greatly appreciated.

thanks,
kev

Posted: Thu Apr 10, 2008 10:22 am
by narcis
Hi kev,

This is most likely related to a known issue in QrTee.pas as described here. We have already fixed it for the next maintenance release. In the meantime I'm going to send QrTee.pas with the fix included.

If this doesn't help don't hesitate to let us know.

Posted: Thu Apr 10, 2008 11:36 am
by 9232023
I got the file, but what do I do with it? Is it for Ver. 8? I already uninstalled 8 and have tried to go back to 7, but 2 things have happened. FIrst, the flickering charts show up again in design time. I had this before (after reinstalling borland on new machine), but at least it compiled ok. Now I have the flickering AND the app hangs at the "OnCreate" method of the form that includes the QReport and QRChart.

I am going to assume that I find the QrTee.pas in my Ver. 8 folder and replace it then reinstall TeeChart 8. Let me know if this is not what you intended. I really need to get this back together either with 7 or 8. It doesn't really matter. I just have a lot of code that depends on it.

thanks,
kev

Posted: Thu Apr 10, 2008 11:51 am
by narcis
Hi kev,

QrTee.pas version I sent is for v8. You should reinstall v8 and most likely recompile and reinstall TQRChart packages.

If you are having problems with this process don't hesitate to let us know.

Posted: Thu Apr 10, 2008 2:22 pm
by 9232023
I installed into the V8 folder and recompiled the TQRChart packages. I went to an old project that uses TCharts and TQRCharts and tried to build. Opening the project showed that the Charts were now V8, but as soon as I tried to open the QReport page, the IDE complained that it there was an entry point error in some file.

The error is:
---------------------------
Error
---------------------------
Error creating form: Access violation at address 40029EBE in module 'rtl60.bpl'. Read of address 00000008.
---------------------------
OK
---------------------------

I cannot open the Form View of this QR form.

I went through the project options and removed all references to Tee Ver7. I also made sure that all the Directory paths were set to the V8 packages. I got it to compile, but I still have the problem of the app hanging when stepping into the OnCreate method of the QReport form. If I remove the TeeQRChart from this form, then it runs fine.

thanks,
Kev

Posted: Fri Apr 11, 2008 9:45 am
by yeray
Hi Kev,

Could you take a look at the recently updated article of how to install QuickReport into Delphi?

The most probably could be that you don't have all the compiled files at the default delphi paths. And this is important to ensure that delphi loads the packages correctly.

Posted: Fri May 30, 2008 12:43 pm
by 10049136
Hi,
I have the same problem with QrTee.pas like 'kev'. I installed the TeeChart v. 8.02 and QuickReport v.5.02 (in Delphi 2007). I use the component TQRChart. When I go on Design page, I get the error: Access violation ... in module rtl100.bpl. I have red that the problem is in QrTee.pas unit.
Could you send me the corected unit QrTee.pas?

thanks for help,
Olek

Posted: Fri May 30, 2008 1:19 pm
by narcis
Hi Olek,

Ok, just sent you the file.

Also notice that TeeChart v8.03 VCL release is imminent and it will also include fixed QrTee.pas version.

Posted: Fri May 30, 2008 1:30 pm
by 10049136
Thanks for help.

Olek