[Invalid class typecast] Error
[Invalid class typecast] Error
Hi,
I have a question.
I am using TeeChart Pro v7 ActiveX.
But Some series have error.
1. Choose one of series that Extended_Polar ,Extended_Radar,Extended_Polar Bar,Extended_Smith or Other_Wind Rose.
2. Add the series and set Random Data.
3. After that, Export [TChart1.Export.asNative.SaveToFile App.Path & "\teefile.tee", True] function.
4. And Import [TChart1.Import.LoadFromFile App.Path + "\teefile.tee"].
5. Then, there is an [Invalid class typecast] message box. So, I have to quit APP.
I tested your Sample program [C:\Program Files\Steema Software\TeeChart Pro v7 ActiveX Unicode Version\examples\UnicodeTest\UnicodeProject.exe].
But It had same error.
I attached an error image.
Confirm, and answer me please.
I have a question.
I am using TeeChart Pro v7 ActiveX.
But Some series have error.
1. Choose one of series that Extended_Polar ,Extended_Radar,Extended_Polar Bar,Extended_Smith or Other_Wind Rose.
2. Add the series and set Random Data.
3. After that, Export [TChart1.Export.asNative.SaveToFile App.Path & "\teefile.tee", True] function.
4. And Import [TChart1.Import.LoadFromFile App.Path + "\teefile.tee"].
5. Then, there is an [Invalid class typecast] message box. So, I have to quit APP.
I tested your Sample program [C:\Program Files\Steema Software\TeeChart Pro v7 ActiveX Unicode Version\examples\UnicodeTest\UnicodeProject.exe].
But It had same error.
I attached an error image.
Confirm, and answer me please.
- Attachments
-
- teechart_polarerror.JPG (155.22 KiB) Viewed 25864 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: [Invalid class typecast] Error
Hi Seth,
I'm not able to reproduce the issue here using latest TeeChart 2010 and v8 ActiveX releases with this code:
Does this work fine for you? Which is the exact TeeChart version you use? Can you please try if using latest evaluation version solves the problem at your end?
Thanks in advance.
I'm not able to reproduce the issue here using latest TeeChart 2010 and v8 ActiveX releases with this code:
Code: Select all
Private Sub Command1_Click()
TChart1.Export.asNative.SaveToFile "C:\temp\AX.tee", True
End Sub
Private Sub Command2_Click()
TChart1.ClearChart
TChart1.Import.LoadFromFile "C:\temp\AX.tee"
End Sub
Private Sub Form_Load()
TChart1.AddSeries scPolar
TChart1.Series(0).FillSampleValues 10
End Sub
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: [Invalid class typecast] Error
I used TeeChart Pro V7.0.1.4 ActiveX and VC++ 6.0.
When This OnInitDialog() executes, [Invalid Class Typecast] message occures repeatly, so I have to quit ActiveX.
Without Import and Export, it occures when add one of the series among Polar(12) ,Radar(20),Polar Bar(45),Smith(34),Wind Rose(22) In AddSeries
Please Check again.
Code: Select all
BOOL CTestchart2Dlg::OnInitDialog()
{
CDialog::OnInitDialog();
m_chart.ClearChart();
m_chart.AddSeries(12); //scPolar
m_chart.Series(0).FillSampleValues(10);
return TRUE;
}
Without Import and Export, it occures when add one of the series among Polar(12) ,Radar(20),Polar Bar(45),Smith(34),Wind Rose(22) In AddSeries
Please Check again.
Re: [Invalid class typecast] Error
Hi Seth,
It's strange, the attached VC++6 project seems to reproduce the problem in a machine and not in another one, both running TeeChart AX v7.0.1.4. However, it seems to work fine with v8 and v2010 in the machine where the problem was reproduced.
So could you please try the v2010 evaluation to see if the problem is reproducible for you with it?
http://www.steema.com/evaluation/ax
Thanks in advance
It's strange, the attached VC++6 project seems to reproduce the problem in a machine and not in another one, both running TeeChart AX v7.0.1.4. However, it seems to work fine with v8 and v2010 in the machine where the problem was reproduced.
So could you please try the v2010 evaluation to see if the problem is reproducible for you with it?
http://www.steema.com/evaluation/ax
Thanks in advance
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: [Invalid class typecast] Error
Hi!
There was a same problem with your Sample Project in TeeChart Pro V7.
But in TeeChart Pro V2010 evaluation, there was no problem.
So, We want to fix it. (TeeChart Ver7)
Because we have to use Series that are occured an error for our customer.
Would you fix the problem in TeeChart ver.7?
I hope so.
There was a same problem with your Sample Project in TeeChart Pro V7.
But in TeeChart Pro V2010 evaluation, there was no problem.
So, We want to fix it. (TeeChart Ver7)
Because we have to use Series that are occured an error for our customer.
Would you fix the problem in TeeChart ver.7?
I hope so.
Re: [Invalid class typecast] Error
Hi Seth,
Since TeeChart AX v8 was released more than 3 years ago, and TeeChart AX v2010 about two months ago, as you'll understand, I'm afraid we don't have plans to publish another TeeChart AX v7 maintenance release.
If you want to upgrade to TeeChart v2010, please contact the sales department at: sales at steema dot com
Since TeeChart AX v8 was released more than 3 years ago, and TeeChart AX v2010 about two months ago, as you'll understand, I'm afraid we don't have plans to publish another TeeChart AX v7 maintenance release.
If you want to upgrade to TeeChart v2010, please contact the sales department at: sales at steema dot com
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: [Invalid class typecast] Error
Hi,
First, Thank for your answer.
But We bought TeeChart ver.7 included Extended_Polar,Extended_Radar,Extended_Polar Bar,Extended_Smith or Other_Wind Rose series.
And It's Menual said that functions are provided in Teechart ver.7.
in addition, We have a problem updating Teechart Ver.7 to 2010.
I Understand that you are too hard to fix Teechart ver7,
This problem is production faulty. so, I ask for you to fix it.
I'll waiting for your positive answer.
First, Thank for your answer.
But We bought TeeChart ver.7 included Extended_Polar,Extended_Radar,Extended_Polar Bar,Extended_Smith or Other_Wind Rose series.
And It's Menual said that functions are provided in Teechart ver.7.
in addition, We have a problem updating Teechart Ver.7 to 2010.
I Understand that you are too hard to fix Teechart ver7,
This problem is production faulty. so, I ask for you to fix it.
I'll waiting for your positive answer.
Re: [Invalid class typecast] Error
Hi Seth,
The problem seems not to be reproducible here with TeeChart ActiveX v7.0.1.2 in the same machine where we could reproduce the problem with v7.0.1.4.
I've sent a mail with the v7.0.1.2 ocx to the mail account you have registered in these forums.
I hope it helps.
The problem seems not to be reproducible here with TeeChart ActiveX v7.0.1.2 in the same machine where we could reproduce the problem with v7.0.1.4.
I've sent a mail with the v7.0.1.2 ocx to the mail account you have registered in these forums.
I hope it helps.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: [Invalid class typecast] Error
Hello.
I appreciated your answer.
I checked on TeeChart ActiveX v7.0.1.2. There was not problem with Add Series.
But it is difficult that distribute TeeChart ActiveX v.7.0.1.2. Because many of our customers had TeeChart ver.7.0.1.4 that was distributed by us.
And If we use v.7.0.1.2, some of Add Series problems are solved.
However There is no guarantee that Any problem may not be occurred.
Actually, This Problem is some of a Degradation upgrading from ver.7.0.1.2 to ver.7.0.1.4.
I understand that you have a trouble, but I ask you to reconsider to fix it.
I’ll waiting your answer.
I appreciated your answer.
I checked on TeeChart ActiveX v7.0.1.2. There was not problem with Add Series.
But it is difficult that distribute TeeChart ActiveX v.7.0.1.2. Because many of our customers had TeeChart ver.7.0.1.4 that was distributed by us.
And If we use v.7.0.1.2, some of Add Series problems are solved.
However There is no guarantee that Any problem may not be occurred.
Actually, This Problem is some of a Degradation upgrading from ver.7.0.1.2 to ver.7.0.1.4.
I understand that you have a trouble, but I ask you to reconsider to fix it.
I’ll waiting your answer.
Re: [Invalid class typecast] Error
Hello,
We'll prepare a v7 update to resolve this issue. Hopefully we can have that ready within a week or two (we are looking at another issue we'd like to include in this update too).
Regards,
Marc Meumann
We'll prepare a v7 update to resolve this issue. Hopefully we can have that ready within a week or two (we are looking at another issue we'd like to include in this update too).
Regards,
Marc Meumann
Steema Support
Re: [Invalid class typecast] Error
Hello,
An update installer for TeeChart AX v7 has been placed on the customer download page (http://www.steema.com/clientaccess). The issue reported in this thread has been tested as not-present in this release. See release notes: http://www.steema.com/versioninfo/ax .
Regards,
Marc
An update installer for TeeChart AX v7 has been placed on the customer download page (http://www.steema.com/clientaccess). The issue reported in this thread has been tested as not-present in this release. See release notes: http://www.steema.com/versioninfo/ax .
Regards,
Marc
Steema Support
Re: [Invalid class typecast] Error
Thank you for your kindness.
I checked that execute very well.
But I need Multi-Language version, too.
So, I ask for your favor, again.
I checked that execute very well.
But I need Multi-Language version, too.
So, I ask for your favor, again.
Re: [Invalid class typecast] Error
Hello,
There is now a new multi-language version 7 on the customer download page.
Regards,
Marc
There is now a new multi-language version 7 on the customer download page.
Regards,
Marc
Re: [Invalid class typecast] Error
Hello,
First, Thank you for new module!
I'm sorry but I need TeeChart7.ocx for Unicode, too.
That is not multi-language.
So, I ask for your kindness, again please
First, Thank you for new module!
I'm sorry but I need TeeChart7.ocx for Unicode, too.
That is not multi-language.
So, I ask for your kindness, again please
Re: [Invalid class typecast] Error
Hi seth,
The version published on 26th January is Unicode, isn't it?
TeeChartAX7UpdateMultiLangUnicode.exe
The version published on 26th January is Unicode, isn't it?
TeeChartAX7UpdateMultiLangUnicode.exe
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |