Page 1 of 1
Teechart 8.01 problems with GIFImage.hpp and NMFTP.hpp
Posted: Wed Aug 13, 2008 9:41 am
by 10049519
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.
Posted: Thu Aug 14, 2008 8:19 am
by Pep
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.
Posted: Thu Aug 14, 2008 10:04 am
by 10049519
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.
Posted: Thu Aug 14, 2008 2:02 pm
by Pep
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
Posted: Thu Aug 14, 2008 2:44 pm
by 10049519
Hi Pep
Thank you again, with your help we have been able to solve the problem.