TChartImageType/TImageFileType problem


Since I installed your latest update I have been getting the following compile error on one of my old projects:

[DCC Error] Machines.pas(950): E2010 Incompatible types: 'TChartImageType' and 'TImageFileType'

against the following line of code


Also have a another line with itPNG which has the same error.

Can you please advise what the problem might be as I have never had any problem with this code previously.

Thanks in advance.


This is explained in the FAQ ( under namespaces.
So, in this particular case, you'll need to make the call as: