I have just upgraded my TeeChart from 2010.01 to 2011.03 into C++Builder 2007 and I get a C++ Error that wasn't occurring before:
Teeprocs.hpp(717): E2113 Virtual function '__fastcall TCustomTeePanelExtended::GetDeviceContext(HWND__ *&)' conflicts with base class 'TWinControl'
Has anyone else seen this error and have a workaround/fix? I couldn't find anything on this in this forum.
Thansk in antincipation.
Andrew Bond
Conlicts with base class 'TWinControl'
-
- Newbie
- Posts: 4
- Joined: Mon Oct 04, 2010 12:00 am
Conlicts with base class 'TWinControl'
Andrew Bond
Geocentrix
Geocentrix
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Conlicts with base class 'TWinControl'
Hi Andrew,
Does this occur in a specific project or with all TeeChart related projects? Have you checked that your C++ Builder Include and Library search paths point to new TeeChart version "Include" and "Lib" folders?
Thanks in advance.
Does this occur in a specific project or with all TeeChart related projects? Have you checked that your C++ Builder Include and Library search paths point to new TeeChart version "Include" and "Lib" folders?
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 |
-
- Newbie
- Posts: 4
- Joined: Mon Oct 04, 2010 12:00 am
Re: Conlicts with base class 'TWinControl'
Narcis
Thanks for the quick response. My TEEINCPATH and TEELIBPATH environment variables are set correctly (to ..\TeeChart 2011 for Delphi 2007\..).
It appears the problem occurs because I am also using Developer Express controls (version 2011.1.6) and - in particular - DevEx's Printing System library, which supports TeeChart.
Currently, my source fails to compile because DevEx's <dxPSTCLnk.hpp> file is included BEFORE Steema' <Chart.hpp>.
If I force the inclusion of <Chart.hpp> ahead of <dxPSTCLnk.hpp> then it compiles ok.
Perhaps this is something to do with overriding STRICT (which i have set to true)? That would change the function's signature, owing to HWND being different with/without STRICT.
Were you aware of this incompatibility with DevEx? (I will ask the same question on their website.)
Thanks for the quick response. My TEEINCPATH and TEELIBPATH environment variables are set correctly (to ..\TeeChart 2011 for Delphi 2007\..).
It appears the problem occurs because I am also using Developer Express controls (version 2011.1.6) and - in particular - DevEx's Printing System library, which supports TeeChart.
Currently, my source fails to compile because DevEx's <dxPSTCLnk.hpp> file is included BEFORE Steema' <Chart.hpp>.
If I force the inclusion of <Chart.hpp> ahead of <dxPSTCLnk.hpp> then it compiles ok.
Perhaps this is something to do with overriding STRICT (which i have set to true)? That would change the function's signature, owing to HWND being different with/without STRICT.
Were you aware of this incompatibility with DevEx? (I will ask the same question on their website.)
Andrew Bond
Geocentrix
Geocentrix
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Conlicts with base class 'TWinControl'
Hi Andrew,
Thanks for your feedback.
No, I wasn't aware of that but it's Developer Express who does the TeeChart integration with their components. Actually a similar issue was discussed in his thread at DevExpress' forums, it might be helpful for you as well.
Thanks for your feedback.
No, I wasn't aware of that but it's Developer Express who does the TeeChart integration with their components. Actually a similar issue was discussed in his thread at DevExpress' forums, it might be helpful for you as well.
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 |