Page 1 of 1

Cannot load package 'TeeMaker111.'

Posted: Wed May 12, 2010 11:14 pm
by 16456147
I am a new TeeChart user and just purchased TeeChart 2010 yesterday. I am using Delphi 2007 that came pre-installed with TeeChart 7.x Std. I installed TeeChart 2010 and it installed fine and even told me that it was going to backup and remove the TeeChart 7 files it found in the CodeGear\5.0\Bin folder. Loading Delphi following the install gave me several errors that were due to some remaining dcltee7100 (and similar) files that were left in the Windows\System32 and other folders. Manually removing those and removing the references to them in the Registry I can now load Delphi with no errors. So far so good. What happens now is I get the following error when I open my project that contains several TCharts.

Cannot load package 'TeeMaker111.' It contains unit 'pngimage,'which is also contained in package 'PNG_D9'.

After I acknowledge this error I can seemingly work on my project just fine. I do have the PNGComponents set from http://www.thany.org installed. Any idea how to resolve this error?

Thanks
Scott

Re: Cannot load package 'TeeMaker111.'

Posted: Thu May 13, 2010 8:04 am
by narcis
Hi Scott,

In that case you could try compiling PNG_D9 components to use same pngimage unit as TeeMaker111. Alternatively you can either disable TeeMaker111 or PNG_D9 at Project -> Options -> Packages. TeeMaker is not the core package of TeeChart, it contains TChart3D, a 3D oriented version of TChart.

Re: Cannot load package 'TeeMaker111.'

Posted: Thu May 13, 2010 6:36 pm
by 16456147
Well, the Thany PNGImage components use that unit name for their components so I can't change it to use yours without making theirs not work. Since I have the source to their components I changed the name of the unit to "thypngimage' and reinstalled. That seems to have cleared the conflict. I also had to do the same thing to the pnglang unit as well. Rename to 'thypnglang'.

Not sure, but the Thany PNGImage components are very popular and are widely used. I don't see how you don't run into this same error all the time by including your own. Wouldn't using a different name be better?

Re: Cannot load package 'TeeMaker111.'

Posted: Fri May 14, 2010 7:12 am
by narcis
Hi ScottSlater,

Thanks for the information. We will consider your suggestion for future releases.

Re: Cannot load package 'TeeMaker111.'

Posted: Mon Sep 06, 2010 2:02 pm
by narcis
Hello,

Just wanted to let you know that we have renamed PNGImage unit to TeePNGImage for the next maintenance release.