Page 1 of 1

#import TeeChart2010.ocx error with VS9.0

Posted: Tue Jun 28, 2011 2:16 am
by 9529276
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.

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

Posted: Thu Jun 30, 2011 9:01 am
by narcis
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.

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

Posted: Mon Jul 04, 2011 3:55 am
by 9529276
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.

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

Posted: Wed Jul 06, 2011 11:36 am
by narcis
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!