TeeChart2014 OCX - Backwards compatibility

TeeChart for ActiveX, COM and ASP
Pep
Site Admin
Site Admin
Posts: 3198
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Re: TeeChart2014 OCX - Backwards compatibility

Post by Pep » Tue Jul 22, 2014 7:26 am

Hello,

I understand your situation, we've been creating new CLSIDs for each major version (v5 to v6, v6 to v7, etc...) to guarantee the backward compatibility, but since the latest version v2010 version, as all the changes and new features that have been added should not affect to the backward compatibility we decided to not renew the CLSIDs.
But it's true that in the latest v2014 version many changes, improvements and many features have been added to the product, forcing to modify some structure of the product and in consequence affect to the compatibility, so at the end let you know that we're going to recreate a new clsids for the next maintenance release. This will solve your problem and will allow you to continue using both ocx at version files the same machine.

Just say that we start working on this, and hope to be available in a few days.
We can advise to you once it's prepared.

Micro
Newbie
Newbie
Posts: 27
Joined: Thu Feb 20, 2014 12:00 am

Re: TeeChart2014 OCX - Backwards compatibility

Post by Micro » Wed Aug 06, 2014 9:00 am

Hello,

Any news about the new maintenance release?

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

Re: TeeChart2014 OCX - Backwards compatibility

Post by Yeray » Thu Aug 07, 2014 8:06 am

Hello,

Excuse us for the delay.
We haven't forgotten you. The ocx with the new CLSID is being prepared but I'm afraid it hasn't been finished yet.
We'll be back to you as soon as we'll have it ready.
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

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

Re: TeeChart2014 OCX - Backwards compatibility

Post by Yeray » Fri Aug 22, 2014 8:41 am

Hello,

I've just sent you a mail to the mail account you have registered in this forum with a link to download a beta version with the new CLSID.
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

Micro
Newbie
Newbie
Posts: 27
Joined: Thu Feb 20, 2014 12:00 am

Re: TeeChart2014 OCX - Backwards compatibility

Post by Micro » Mon Sep 08, 2014 3:52 pm

Hello,

Thank you.

Can you send one more time the mail because for some reason we cannot find it.

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

Re: TeeChart2014 OCX - Backwards compatibility

Post by Yeray » Tue Sep 09, 2014 7:19 am

Hello,

I've just sent the mail again.
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

Micro
Newbie
Newbie
Posts: 27
Joined: Thu Feb 20, 2014 12:00 am

Re: TeeChart2014 OCX - Backwards compatibility

Post by Micro » Wed Sep 10, 2014 8:25 am

Hello,

Thank you. I installed the new ocx and now we don't have any problems with the backwards compatibility.
But, with the new ocx, we get a "Member not found!" message when using getHeader and getFooter.
I attached a demo application.

Thanks.
Attachments
TeeChart2014Micro_3.zip
(312.22 KiB) Downloaded 329 times
TeeChart2014Micro_2.zip
(324.96 KiB) Downloaded 344 times
TeeChart2014Micro_1.zip
(136.2 KiB) Downloaded 316 times

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

Re: TeeChart2014 OCX - Backwards compatibility

Post by Yeray » Fri Sep 12, 2014 2:35 pm

Hello,

I found errors building your application here.
But I can change the Header.Caption using v2014.0.0.2 in a VB6 application.

Code: Select all

TChart1.Header.Caption = "hello"
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

Micro
Newbie
Newbie
Posts: 27
Joined: Thu Feb 20, 2014 12:00 am

Re: TeeChart2014 OCX - Backwards compatibility

Post by Micro » Mon Sep 15, 2014 7:35 am

Hello,

The problems arise for GetFooter().GetText() and GetFooter().SetVisible() or GetHeader.SetVisible().

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

Re: TeeChart2014 OCX - Backwards compatibility

Post by Yeray » Wed Sep 17, 2014 12:33 pm

Hello,

I've made a new MFC application in Visual Studio 2013 with TeeChart v2014.0.0.2 beta following the guide here and this seems to work fine for me here:

Code: Select all

void CMFCApplication1Dlg::initChart()
{
	CAspect aspect = mChart1.get_Aspect();
	aspect.put_View3D(false);

	CTitles footer = mChart1.get_Footer();
	footer.put_Caption(mChart1.get_Version());

	CString footerString = footer.get_Text();
	CTitles header = mChart1.get_Header();
	header.put_Caption(footerString);
	
	//footer.put_Visible(false);
	//header.put_Visible(false);
	//mChart1.AboutBox();
}
The three last lines work fine also. I commented them so we can see the difference before and after.
MFCApplication1.zip
(565.77 KiB) Downloaded 358 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

Micro
Newbie
Newbie
Posts: 27
Joined: Thu Feb 20, 2014 12:00 am

Re: TeeChart2014 OCX - Backwards compatibility

Post by Micro » Thu Sep 18, 2014 11:47 am

Hi,

Your CTitles.h file is a bit different then my titles.cpp and titles.h files.
I got my files from the TEECHART_INSTAL_DIR\Examples\Visual C++\Version 6\TeeFiles\*.
Can you please test your app with these files?

Thanks

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

Re: TeeChart2014 OCX - Backwards compatibility

Post by Yeray » Thu Sep 18, 2014 12:09 pm

Hello,
Micro wrote:Your CTitles.h file is a bit different then my titles.cpp and titles.h files.
I got my files from the TEECHART_INSTAL_DIR\Examples\Visual C++\Version 6\TeeFiles\*.
Can you please test your app with these files?
Note you are using a beta version so some parts of the installation haven't been checked and corrected.
I think it's preferable if you generate your own headers as explained in the blog post.
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

Micro
Newbie
Newbie
Posts: 27
Joined: Thu Feb 20, 2014 12:00 am

Re: TeeChart2014 OCX - Backwards compatibility

Post by Micro » Thu Sep 18, 2014 12:48 pm

When I click on the "here" link I got this error: "You do not have permission to preview drafts".

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

Re: TeeChart2014 OCX - Backwards compatibility

Post by Yeray » Thu Sep 18, 2014 1:06 pm

Hi,
Micro wrote:When I click on the "here" link I got this error: "You do not have permission to preview drafts".
I'm sorry, I've just corrected it:
http://steema.com/wp/blog/2014/09/17/cr ... 10-and-up/
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

Micro
Newbie
Newbie
Posts: 27
Joined: Thu Feb 20, 2014 12:00 am

Re: TeeChart2014 OCX - Backwards compatibility

Post by Micro » Fri Sep 19, 2014 9:08 am

Hi,

Thank you!

One more question.
How can I generate the files like in the Examples found in installation directory?
Because in your example and also when I generate the files like you suggested, the method names are different and that means that I have a lot to change in my code.

For example:
till now I had tChart.GetHeader().SetVisible(FALSE) and with the new generated files we have CTitles(tChart.get_Header()).put_Visible(FALSE)

Best Regards

Post Reply