Page 1 of 1

Duplicate resource problem

Posted: Wed Feb 07, 2007 5:14 pm
by 9231501
If I drop into a form a TChartEditor or some other components like TChartListBox, I start to get the following error when I try to compile the application:

[Pascal Error] E2161 Duplicate resource: Type 2 (BITMAP), ID TAREASERIES; File C:\Borland\TurboDelphi\Comps\TeeChart\Delphi10\Lib\TeeBmps.res resource kept; file C:\Borland\TurboDelphi\Comps\TeeChart\Delphi10\Lib\teebmps.res resource discarded.
[etc...]

I already deleted all the teebmps.res files keeping just the one inside C:\Borland\TurboDelphi\Comps\TeeChart\Delphi10\Lib\ but it didn't solve the problem.

Any idea on how to fix this?

Carlos

Posted: Thu Feb 08, 2007 8:22 am
by narcis
Hi Carlos,

Please read this message about a pretty similar issue.

If it doesn't help don't hesitate to let us know.

Posted: Thu Feb 08, 2007 10:27 am
by 9231501
Hi Narcis!

I already had seen that message, but it couldn't help.

When I searched for teebmps.res I found it in 3 places:

- TeeChart lib directory
- ReportBuilder directory
- Pivot Cube directory

I deleted all of them, leaving it just in the TeeChart lib directory, but it didn't solve the problem :-(

Carlos

Posted: Thu Feb 08, 2007 10:40 am
by 9231501
I just found that the problem only happens when I put a PivotCube component in the same project containing some of the TeeChart components.

I tried to recompile the PivotCube package, but problem still remains.

Any idea of what more I can do?

Carlos

Posted: Thu Feb 08, 2007 11:25 am
by 9231501
I solved the problem removing the reference to TeeBmps.res from one of the PivotCube .pas files.

Thanks!

Carlos