The Techart.hpp file in version 7.0.7 is showing an argument to TChartPen::SetVisble as "const bool" instead of bool. Because of this, the linker can't find the mangeled name. It gets fixed is I delete the "const" (bad C++ coding form anyway), and the linker can find the function.
Do you have to edit these out by hand?
Thanks,
Bob Berens.
PS - I'm using CBuilder6.
const bool argument to TChartPen::SetVisible()
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bob,
I'm not able to reproduce this issue, should I follow any concrete step to reproduce it?
Thanks in advance.
I'm not able to reproduce this issue, should I follow any concrete step to reproduce it?
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 |
Narcis,
I have an application that uses the "Visible" property on a TChartPen object. I got an undefined reference to TChartPen::SetVisibility() when I linked. This is when I changed the "const bool" argument to that function to a "bool" in the .hpp file. I did a build and the symbol was found OK.
I compared the 7.0.4 definition of SetVisibility with the 7.07 definition and noticed that the argument to SetVisibility() was "bool", not "const bool". That is why I tried dropping the "const".
The .hpp files were from the 7.0.7 binary installer that I very recently downloaded.
Bob.
I have an application that uses the "Visible" property on a TChartPen object. I got an undefined reference to TChartPen::SetVisibility() when I linked. This is when I changed the "const bool" argument to that function to a "bool" in the .hpp file. I did a build and the symbol was found OK.
I compared the 7.0.4 definition of SetVisibility with the 7.07 definition and noticed that the argument to SetVisibility() was "bool", not "const bool". That is why I tried dropping the "const".
The .hpp files were from the 7.0.7 binary installer that I very recently downloaded.
Bob.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bob,
Thanks for the information but I couldn't reproduce the issue here using v7.07 and using TChartPen's Visible property. Could you please send us an example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
Thanks for the information but I couldn't reproduce the issue here using v7.07 and using TChartPen's Visible property. Could you please send us an example we can run "as-is" to reproduce the problem here?
You can post your files at news://www.steema.net/steema.public.attachments newsgroup.
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 |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Bob,
Thanks for your collaboration. It is really important for us being able to reproduce the issues found so that we can fix them.
Thanks for your collaboration. It is really important for us being able to reproduce the issues found so that we can fix them.
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 |