Teechart 8.01 problems with GIFImage.hpp and NMFTP.hpp

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jorge
Newbie
Newbie
Posts: 7
Joined: Fri Jun 27, 2008 12:00 am

Teechart 8.01 problems with GIFImage.hpp and NMFTP.hpp

Post by Jorge » Wed Aug 13, 2008 9:41 am

Hello
We have done an application with Teechart v6, but now we have changed to Teechart 8.01 and when we attempt to compile the program there’s an error because it’s impossible to find the files GIFImage.hpp.

We’d like to know if the names of these files have changed in the new version or there are other files that include these ones.

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Aug 14, 2008 8:19 am

Hi Jorge,

which BCB version are you using ? In case that you were using
Delphi2007 would be because includes a new unit GIFImg which is the same as GifImage unit, so the installers for D2007 and up don't include it.

Jorge
Newbie
Newbie
Posts: 7
Joined: Fri Jun 27, 2008 12:00 am

Post by Jorge » Thu Aug 14, 2008 10:04 am

Hello Pep

Thank you for the last message, I've already solved the problem with GIFImage, but now I have another one.
We have this error:
E2015 Ambiguity between 'pmNone' and 'Forms::pmNone'
in the line
HPLX->Chart1->AllowPanning = pmNone;
We have been checking the help and we don’t know why there’s an error in this line, because pmNone is one of the values of the AllowPanning property, and on top of that with the last version (now we are using C++ builder 2007) we didn’t have this error.

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Aug 14, 2008 2:02 pm

Hi Jorge,

ok, I'm glad to hear you've solved it.
About your other problem, yes, it's a known issue, I think D2007 includes a new definition which uses the same syntax.

A solution could be to do this :
Chart1->AllowPanning = TPanningMode(0); // pmNone

Jorge
Newbie
Newbie
Posts: 7
Joined: Fri Jun 27, 2008 12:00 am

Post by Jorge » Thu Aug 14, 2008 2:44 pm

Hi Pep

Thank you again, with your help we have been able to solve the problem.

Post Reply