Big problem
We try to use FR (trial) before we buy it, but there was a big problem. FR is working fine when I design, preview or print a report from design time, but from run time it doesn?t work at all. I have error ?Access violation at address 00000000 ??, also I have this error when I try to close my application. This is only happening with our application, when creating new application everything is working fine. I use FreeReport at home and that?s why I recommended to switch from Quickreport to FastReport. Please help.
P.S. We use D7 and BDE.
P.S. We use D7 and BDE.
Comments
make sure that any necessary fr add in objects are placed on the underlying delphi form if you are using them. ie exportfilters,frshape,checkbox, barcode, etc.
Also make sure that a report is not set to select a non existent printer when loaded.
regards
For example i can load (frReport1.LoadFromFile('1.frf')) but when i try to show report (frReport1.ShowReport) i got "access violation at address...", or i can design report (frReport1.DesignReport), but when i try to show preview i have the same problem (this is case for runtime and form designetime).
connected with printer. Problem is somethink else, but i can't find it.
Thank you anyway.
A few pointers that will help find your AV:
1. make sure the frReport1 is not being FreeAndNil 'd somewhere in your app.
2. debug your app (with show exceptions on) and see which unit is generating the AV...
It appears for some of the users of my software and not appears for others.