header file names

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Totte Karlsson
Newbie
Newbie
Posts: 9
Joined: Thu Apr 28, 2011 12:00 am

header file names

Post by Totte Karlsson » Tue Apr 10, 2012 11:22 pm

Hi,
I just upgraded to the latest TeeChart for XE2. It seems that all headers that was before named Tee*.hpp is now Vcl.Tee*.hpp.

Is there a simple way to have all old names to map to the new ones, or do I have to go trough all my code and change all of them?

Thanks,
-totte

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: header file names

Post by Narcís » Wed Apr 11, 2012 7:21 am

Hi Totte,

Yes, go to Project -> Options -> Delphi Compiler -> Unit scope names -> add the VCLTee prefix.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

pchaviv
Newbie
Newbie
Posts: 3
Joined: Wed Apr 11, 2012 12:00 am

Re: header file names

Post by pchaviv » Wed Apr 11, 2012 7:17 pm

I have the same problem... but I have a C++ project. How can I use the VCLTee.*.hpp's etc. without changing all my #includes?
I guess I'm going to have the same problem at link time with the VCLTee.* LIBs

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: header file names

Post by Narcís » Thu Apr 12, 2012 11:05 am

Hi pchaviv,

I'm sorry but I haven't found Unit scope names for C++ Builder projects. I used Windows Grep for searching and replacing unit names.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

pchaviv
Newbie
Newbie
Posts: 3
Joined: Wed Apr 11, 2012 12:00 am

Re: header file names

Post by pchaviv » Thu Apr 12, 2012 12:57 pm

Narcis

I have edited my source files to include the "VCLTee." in the #include statements.
Project compiles OK.

However, now I get a link error: "Unable to open file 'TEEPRO915.LIB'

I checked and I only have *916.lib files installed.
I also looked at the expanded link error and "TeePro915.lib TeeUI915.lib Tee915.lib" as well as "TeePro916.lib TeeUi916.lib Tee916.lib" are included in the link.

How can I remove the *915.lib" files from the Link? I have poked around the Tools and Project Options but cannot find any way to remove these LIB's
I have also tried to un-install and re-install TeeChart Pro... but this did not help.

Thanks..

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: header file names

Post by Narcís » Thu Apr 12, 2012 1:02 pm

Hello,

You should manually edit, using any text editor, the project file, remove those references, save it and load the project again.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

pchaviv
Newbie
Newbie
Posts: 3
Joined: Wed Apr 11, 2012 12:00 am

Re: header file names

Post by pchaviv » Thu Apr 12, 2012 2:15 pm

Narcis

Thanks for the info.. I was not sure if I could text-edit the project file.

This method has worked and I can clear out the TeeChart related link error. (I'm still getting a link error, but not TeeChart related.. must be yet-another difference between XE and XE2 since I do not get any link errors with XE)

Peter

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

Re: header file names

Post by Yeray » Thu Jun 07, 2012 8:30 am

Hello,
pchaviv wrote:I have edited my source files to include the "VCLTee." in the #include statements.
Project compiles OK.
This is just to tell you we found a way to do the same without having to manually edit all the #includes:
http://www.teechart.net/support/viewtop ... 149#p58149
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