#import TeeChart2010.ocx error with VS9.0

TeeChart for ActiveX, COM and ASP
Post Reply
Chris
Newbie
Newbie
Posts: 2
Joined: Mon Nov 21, 2005 12:00 am

#import TeeChart2010.ocx error with VS9.0

Post by Chris » Tue Jun 28, 2011 2:16 am

Hi, I have beed a user of TeeChart 7 for some time now and have decided on upgrading our license. So I installed the 2010 trial TeeChart 10.0.0.3.

I am having a problem when attempting to import the ocx file into my visual c++ project (I.e #import "TeeChart2010") and the generation of the TeeChart2010.tlh file. It seems the tlh file makes many references to struct ITeePoint2D when I am guessing it should be struct ITeePoint2D *.
This results in compiler errors TeeChart::ITeePoint2D' : cannot instantiate abstract class

I can successfully import the trial TeeChart8.ocx and everything works fine.

Thanks.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: #import TeeChart2010.ocx error with VS9.0

Post by Narcís » Thu Jun 30, 2011 9:01 am

Hi Chris,

Are you using the tools to automatically upgrade old TeeChart projects to the new version? You can find those tools in the Utilities folder at TeeChart's program group. Do you still have those problems using those tools?

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
Image Image Image Image Image Image
Instructions - How to post in this forum

Chris
Newbie
Newbie
Posts: 2
Joined: Mon Nov 21, 2005 12:00 am

Re: #import TeeChart2010.ocx error with VS9.0

Post by Chris » Mon Jul 04, 2011 3:55 am

Narcís, thanks for getting back to me,

Currently we are doing away with our old projects and changing GUI frameworks for future projects, this prevents us from using any upgrade facilities of TeeChart.
With these new projects the only way to include TeeChart into them is to use the #import facility of Visual C++, which results in the compile error as I previously mentioned.

Unfortuately this error will completely stop us from using TeeChart 2010 until it is fixed.

Chris.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: #import TeeChart2010.ocx error with VS9.0

Post by Narcís » Wed Jul 06, 2011 11:36 am

Hi Chris,

In that case you could try following the upgrading instructions from Upgrading from TeeChart v8.PDF available at TeeChart's program group. GUIDs lists are available at guids.txt and AllGuids.txt at C:\Program Files\Steema Software\TeeChart Pro v2010 ActiveX Control\Utilities.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply