Compile Error

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
weigels
Newbie
Newbie
Posts: 2
Joined: Mon Feb 25, 2008 12:00 am

Compile Error

Post by weigels » Thu Feb 28, 2008 7:02 pm

[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

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 29, 2008 8:48 am

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.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

weigels
Newbie
Newbie
Posts: 2
Joined: Mon Feb 25, 2008 12:00 am

Compile Error

Post by weigels » Fri Feb 29, 2008 1:07 pm

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?)

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Feb 29, 2008 2:38 pm

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply