Page 1 of 1

header file names

Posted: Tue Apr 10, 2012 11:22 pm
by 16459186
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

Re: header file names

Posted: Wed Apr 11, 2012 7:21 am
by narcis
Hi Totte,

Yes, go to Project -> Options -> Delphi Compiler -> Unit scope names -> add the VCLTee prefix.

Re: header file names

Posted: Wed Apr 11, 2012 7:17 pm
by 16562159
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

Re: header file names

Posted: Thu Apr 12, 2012 11:05 am
by narcis
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.

Re: header file names

Posted: Thu Apr 12, 2012 12:57 pm
by 16562159
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..

Re: header file names

Posted: Thu Apr 12, 2012 1:02 pm
by narcis
Hello,

You should manually edit, using any text editor, the project file, remove those references, save it and load the project again.

Re: header file names

Posted: Thu Apr 12, 2012 2:15 pm
by 16562159
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

Re: header file names

Posted: Thu Jun 07, 2012 8:30 am
by yeray
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