Page 1 of 1

Compile Error

Posted: Thu Feb 28, 2008 7:02 pm
by 10548394
[DCC Error] Unit1.pas(7): F2051 Unit TeeHtml was compiled with a different version of TeCanvas.TTeeCanvas

getting this in delphi2007update3/teechart 8.0.2; I'm not sure if I have pointer issues or if this is truly a teechart unit/package problem

Posted: Fri Feb 29, 2008 8:48 am
by narcis
Hi weigels,

It's most likely that your Delphi is still referencing old TeeChart packages. Please read this message on how to solve this issue.

Thanks in advance.

Compile Error

Posted: Fri Feb 29, 2008 1:07 pm
by 10548394
as with Wayne, I'm pretty sure I scrubbed the machine clean of references to TeePro7... removed/deleted the package, uninstalled, deleted the directory containing 7, manually scrubbed the registry of TeePro7 references after I got the error...

could it be because I have BDS4.0 and CodeGearDelphi2007 with their respective versions of TeePro8... residing on the same machine, is perhaps, the Delphi2006 version, which I installed first, confusing the instance in Delphi2007 (are the versions for D06 and D07 compiled differently?)

Posted: Fri Feb 29, 2008 2:38 pm
by narcis
Hi weigels,

No, 2006 and 2007 versions use different packages. There must be an old package/reference somewhere on your machine. Have you searched for tee7*.bpl files at C:\Windows\System32?. Another possibility is that another 3rd party tool is referencing old TeeChart packages like I described here.

You could also try using latest D2007 build we posted at the client area as described on [url=http://www.teechart.net/support/viewtop ... t=7373this thread[/url].

Hope this helps!