Page 1 of 1

package Tee8120/Tee812 and unit CandleCh

Posted: Thu Dec 24, 2009 1:23 pm
by 10048408
Hi,
In the slow process of porting a D2007-delphi project to D2009, I now have all relevant third-party components installed on the Tool Palette, but I have trouble getting the TeeChart setup working correctly. When D2009 is started up, I get the message "Cannot load package Tee8120 .. it contains TeeAbout which is also contained in package Tee812". I have the TeeChart version with source code and I ran the recompile tool before opening the IDE.

- what can be done to remove this error?

Another problem haunting me is the "Error F2051 unit CandleCh was compiled with a different version of TeEngine.TChartSubGalleryProc". I tried to remove all teechart components from my forms and replace them with new ones, but delphi insists that unit CandleCh is mismatched.

- how do I handle that?

Best regards
Claus

Re: package Tee8120/Tee812 and unit CandleCh

Posted: Thu Dec 24, 2009 2:03 pm
by narcis
Hi Claus,
In the slow process of porting a D2007-delphi project to D2009, I now have all relevant third-party components installed on the Tool Palette, but I have trouble getting the TeeChart setup working correctly. When D2009 is started up, I get the message "Cannot load package Tee8120 .. it contains TeeAbout which is also contained in package Tee812". I have the TeeChart version with source code and I ran the recompile tool before opening the IDE.

- what can be done to remove this error?
Tee8120 is on of the packages corresponding to TeeChart v8 Standard, which is the version shipped with D2009. You should go to the packages list at Project -> Options -> Packages and disable or uninstall TeeChart 8 Standard packages.
Another problem haunting me is the "Error F2051 unit CandleCh was compiled with a different version of TeEngine.TChartSubGalleryProc". I tried to remove all teechart components from my forms and replace them with new ones, but delphi insists that unit CandleCh is mismatched.
This is a problem with your IDE or projects search paths. You should make sure that at Project -> Options -> Directories/Conditionals -> Include file search path has latest TeeChart version paths on *top* of the list, that there are no old paths listed and also do the same at Tools -> Options -> Delphi Options -> Library - Win32 -> Library path list.

Hope this helps!

Re: package Tee8120/Tee812 and unit CandleCh

Posted: Fri Dec 25, 2009 2:07 pm
by 10048408
Dear Narcis,
Thank you! - this was helpful. I did have the correct search paths set and the standard TeeChart package was not listed in the components list. I looked for files containing the string 'Tee8120' and found one file in the ..\SYSTEM32 directory. I renamed it into something else, and from there on everything seemed to work well. Even the 'CandleCh' -problem disappeared! It is beyond me why D2009 was so interested in the Tee8120 file, but it is probably very difficult to make an interface that allows trouble-free plug-and-play of third party components.
Best regards
Claus

Re: package Tee8120/Tee812 and unit CandleCh

Posted: Mon Dec 28, 2009 8:49 am
by yeray
Hi Claus,

Yes, delphi loads the runtime packages present at windows system folder at the IDE startup. And the TeeChart runtime packages that come with the IDEs use to end in zero (Tee*0.bpl).