TeeChart2012 and TDraw3D bug for CB6

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
anauta2013
Newbie
Newbie
Posts: 14
Joined: Wed Mar 21, 2012 12:00 am

TeeChart2012 and TDraw3D bug for CB6

Post by anauta2013 » Mon Nov 05, 2012 11:37 am

I found new issue that exists in the Chart under CB6
The constuction like:

TCanvas3D *c = Draw3D1->Canvas;
c->Pen->Width = 3;
will produce Access Violation.
I had to return to TeeChart2011 to avoid this bug.
Best regards
Vladimir

vlezhu
Newbie
Newbie
Posts: 29
Joined: Thu Apr 14, 2011 12:00 am

Re: TeeChart2012 and TDraw3D bug for CB6

Post by vlezhu » Tue Nov 06, 2012 9:40 am

Hi, Yeray.
And what do you think about this bug?

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

Re: TeeChart2012 and TDraw3D bug for CB6

Post by Yeray » Tue Nov 06, 2012 10:29 am

Hi,

I've created a new simple project in BCB6 with just a Chart on the form, a TLineSeries created and populated at design time, and the code above (Chart1 instead of Draw3D1, since the chart is named Chart1 by default) at FormCreate, and I see no error at all.

Could you please arrange a simple example project we can run as-is to reproduce he problem here?

Thanks in advance.
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

vlezhu
Newbie
Newbie
Posts: 29
Joined: Thu Apr 14, 2011 12:00 am

Re: TeeChart2012 and TDraw3D bug for CB6

Post by vlezhu » Tue Nov 06, 2012 11:51 am

Sorry for poor information in the first post, I thought that it is clear.
This is example without chart, only TDraw3D component was used.
Will put TDraw3D to form and then place

TCanvas3D *c = Draw3D1->Canvas;
c->Pen->Width = 3;

to the constructor of the form1.

After start of application you will see this error in CB6.

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

Re: TeeChart2012 and TDraw3D bug for CB6

Post by Yeray » Tue Nov 06, 2012 12:57 pm

Hi,
vlezhu wrote:Sorry for poor information in the first post, I thought that it is clear.
This is example without chart, only TDraw3D component was used.
Sorry, my bad.

I've tried it with just a TDraw3D added on the form at design time and the code you mention in the FormCreate, and the application compiles and runs without problems for me here with TeeChart v2012.06 and C++Builder 6, in a Win7 64bit machine.

Are you reproducing this with v2012.06?
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

anauta2013
Newbie
Newbie
Posts: 14
Joined: Wed Mar 21, 2012 12:00 am

Re: TeeChart2012 and TDraw3D bug for CB6

Post by anauta2013 » Tue Nov 06, 2012 2:22 pm

Yes, I can reproduce it on TeeChart2012 V.6
By the way, I work on Win7-32, may be this is reason?
I upload test project Test.zip
Attachments
Test.zip
(3.32 KiB) Downloaded 774 times
Best regards
Vladimir

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

Re: TeeChart2012 and TDraw3D bug for CB6

Post by Yeray » Wed Nov 07, 2012 11:00 am

Hi,

I can open your project without any error. I found it gave me an error when trying to find Tee9C6.lib. I've closed the project and edited the .bpr manually to remove the all the references to Tee9C6. I've reopened the project and it builds and runs fine for me here.
It makes me think it has to be something in the paths on your IDE.
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

anauta2013
Newbie
Newbie
Posts: 14
Joined: Wed Mar 21, 2012 12:00 am

Re: TeeChart2012 and TDraw3D bug for CB6

Post by anauta2013 » Wed Nov 07, 2012 3:57 pm

I could not find the reason for this behaviour, but after total reinstall of CB6 the bug dissappeared, thank you for the tip.
Best regards
Vladimir

Post Reply