Search code examples
delphiteechart

TeEngine.pas not found


I am creating a program that produces bar graphs. Yesterday, the code compiled normally and ran without a glitch. But when I try to run it now, a read address error occurs. This piece of code is giving the problems:

for K:=0 to Length(arrIncomes) - 1 do
  IncomeBarS.AddXY(arrIncomes[k].dDate,arrIncomes[k].rAmount);

Upon trying to view the source code for the "AddXY" procedure, the IDE gives the error: "Unable to locate file 'TeEngine.pas'". Google couldn't help me. Does anyone know how to fix this? I am using Delphi 2010


Solution

  • The free version of TeeChart that is supplied with Delphi does not include source. Essentially the message you encounter is telling you that. The full commercial version of TeeChart does ship with source.

    Looking at your code it seems unlikely that the problem is inside TeeChart. I expect the issue can be found in your code.