We try to update our application to current TeeChart ActiveX 2018. With TeeChart ActiveX v5 it was possible to let VC++ automatically generate the needed typelib headers like this:
Code: Select all
#import "TeeChart5.ocx" named_guids, rename("LoadImage","TeeChartLoadImage"), rename("TextOut","TeeChartTextOut")
Code: Select all
#import "TeeChart2018.ocx" named_guids, rename("LoadImage","TeeChartLoadImage"), rename("TextOut","TeeChartTextOut")
Code: Select all
error C2259: 'TeeChart::ITeeBasePath': cannot instantiate abstract class
error C2259: 'TeeChart::ITeePoint2D': cannot instantiate abstract class
error C2365: 'TeeChart::IMapPolygon::GetPoints': redefinition; previous definition was 'data member'
error C2063: 'TeeChart::IMapPolygon::GetPoints': not a function
error C2350: 'TeeChart::IMapPolygon::GetPoints' is not a static member
How can I generate the typelib headers with current TeeChart ActiveX 2018?
Patrick