Cant derive from TChart in version 2015 or 20142014

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
KJT
Newbie
Newbie
Posts: 5
Joined: Wed Apr 23, 2014 12:00 am

Cant derive from TChart in version 2015 or 20142014

Post by KJT » Sun Feb 01, 2015 3:31 am

I am getting a linker error similar to http://www.teechart.net/support/viewtop ... =3&t=12614... When I have a class derived from TChart and exported as PACKAGE I get linker error:

[ILINK32 Error] Error: Unresolved external '__fastcall Teeprocs::TCustomTeePanelExtended::GetDeviceContext(void *&)' referenced from K:\SUBPROJECTS\COMPONENTS\ITCOMP\OBJ\ITCHART.OBJ

I had TChart 2013 Nov for Builder 2007 installed without any linker errors and upgraded to 2015 for Builder 2007. It also happens if I used 2014 for Builder 2007. I removed references to older versions of TChart.

Any suggestions will be hugely appreciated.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Cant derive from TChart in version 2015 or 20142014

Post by Yeray » Mon Feb 02, 2015 9:31 am

Hi,

Does a new project with a just a chart on the form build and run fine in your environment?
If so, it may be a problem with the references hardcoded in your old project. And, if this is the case, I'm afraid the only way to solve this would be manually editing the project files (with notepad or similar) and correct any wrong reference you may find on it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

KJT
Newbie
Newbie
Posts: 5
Joined: Wed Apr 23, 2014 12:00 am

Re: Cant derive from TChart in version 2015 or 20142014

Post by KJT » Sun Feb 08, 2015 12:30 am

I have attached a project to demonstrate the linker error. I created it from scratch in C++ Builder 2007 with the latest TChart release 2015
Attachments
MyChart.zip
Project files
(7.42 KiB) Downloaded 445 times

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Cant derive from TChart in version 2015 or 20142014

Post by Yeray » Mon Feb 09, 2015 1:00 pm

Hello,

I've reproduced the error so I've created a ticket in the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1127
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply