Page 1 of 1

[AccessViolation] Print job crashes application after update

Posted: Thu Jan 24, 2008 1:22 pm
by 10047590
Hi there,

I have a nasty print problem with DBCharts since I have made an update from my TeeChart V8.01 Pro VCL to TeeChart V8.02 Pro VCL.

I’ using:
Delphi® 2007 für Win32® R2 Version 11.0.2902.10471 + December 2007 Update
The TeeChart Version now is: 8.02 Pro VCL
Windows is: XP Version 2002 SP2

I have made an application with several DBCharts and since that update, I can’t print my charts. I using the TeeCommander to open the print preview und then, if I press the print button, I get an access violation. Without debug mode from Delphi, the whole application says goodbye without a statement and disappears into the nirvana.

But the thing is, during design time, it is possible to print this charts out of the chart editor. That I also have done is, I cloned one of my charts, delete the ancestor and set al properties, behaviors etc to like the ancestor and vola, after the compilation I can print my chart. But not for a long time, a few compilations later and I have that problem again.

If I create a complete new chart, than I don’t have this prob.

Now my question is, what I can do. I don’t want to drop my old chars out off the application and replace them with new one. There a lot of special settings and series inside that works as placeholder and so on …… it’s a lot work to replace my charts.

Is there any solution or idea, how I can rescue my Charts?

Best regards
Matthias Urbscheit

Posted: Thu Jan 24, 2008 3:15 pm
by narcis
Hi Matthias,

Yes, this is a issue (TV52012770) which we have found recently and it's on our wish-list as a top importance item to be fixed.

In the meantime, you could try installing v8.01 again, this shouldn't affect your applications, just openning them with v8.01 installed in Delphi/C++ Builder should automatically update the components.

Posted: Thu Jan 24, 2008 5:14 pm
by 10047590
Hello Narcís,

thanks for the fast response.

Okay, I have tried this yesterday 2 times without a positive effect. But I will try it again and post the result to you.

Cya Matthias

Posted: Fri Jan 25, 2008 11:59 am
by 10047590
Hi Narcís,

I have still the problem, that the print job crashes my application, even if I downgrade to version 8.01. I have deinstalled and reinstalled version 8.01 many times, opened my project, the components update themselves, all is fine, but the print problem is the same.
After the downgrade, I could print exactly one chart one time in runtime. It is nearly the same after a reinstall of version 8.01. Sometimes I can print in runtime one time and sometimes not.

What I need to know is, do you see a chance to solve that problem in the next time? What can I do for you, to help you to find the bug?

cya

Posted: Mon Jan 28, 2008 11:27 am
by 10048044
Hi,

I have the same problem. I can't print any graphs.

Downgrade to 8.01 doesn't work.

Any advice for a temporary fix would be appreciated!

Posted: Fri Feb 01, 2008 11:12 am
by narcis
Hello everyone,

We've been investigating the issue and we could narrow it to 3D charts, printing 2D charts works fine. Can you please confirm that?

Thanks in advance.

Posted: Fri Feb 01, 2008 11:24 am
by 10048044
Nice one!

That certainly is the case in my situation.

I look forward to hearing that you have solved it!

Many thanks

Graeme

Posted: Mon Feb 04, 2008 1:22 pm
by 10048044
Hi,

Do you have an estimate (or even a guess) for fixing this please?

I have a load of work on hold until it is sorted.

Thanks

Graeme

Posted: Wed Feb 13, 2008 10:32 am
by 10048044
I need this fixed soon.

I've held a job back for two weeks now and I need to get paid for it!

Posted: Fri Feb 15, 2008 9:20 am
by narcis
Hello Matthias and Graeme,

We think we have found a solution to the issue but we still need to investigate a little more to check if it would brake existing code. If it's fine we will include it in the next TeeChart v8 VCL maintenance release. In the meantime, if you are source code customers we can send you the file with the fix. If you don't hold a sourcecode license please let me know which IDE are you using and we'd send you compiled packages with the current fix.

Thanks in advance.

Posted: Fri Feb 15, 2008 9:56 am
by 10048044
Thanks Narcís...

I don't have source code and I use Delphi 7 and Delphi 2007.

Delphi 7 is urgent, I can wait for Delphi 2007.

Many thanks.

Graeme

Posted: Fri Feb 15, 2008 1:03 pm
by narcis
Hi Graeme,

Thanks for the information. Ok, I'm going to upload the Delphi 7 packages and send you an e-mail with the URL and installation instructions.

Posted: Fri Feb 15, 2008 3:06 pm
by 10048044
Thank you, that update does seem to work.

Posted: Fri Feb 15, 2008 3:21 pm
by narcis
Hi Grimbo,

You're welcome, I'm glad to hear that!