Strange situation with TeeChart

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

Strange situation with TeeChart

Postby jostos » Wed May 02, 2007 9:34 pm

When you have an application that has the following combination of components:

TeeChart 7.06
ReportBuilder 10.5
PivotCube 7.4.2.??

You get the following error on compiling the program:

"[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...]

The way to solve this is to eliminate the code:

{$R teebmps.res}

in the "PVChartDD_SRC.pas" unit.

Can you check if there is a way to solve this in future releases so that we don't have to modify the source code each time we upgrade PivotCube?

Please don't hesitate do contact me if you need anything from me to help you solve this issue.


Regards,
Jose Ostos
jostos
Guest
 
Posts: 4
Joined: Mon Jun 19, 2006 5:20 am
Location: Mexico

Postby AlexZencovich » Thu May 03, 2007 4:58 am

That problem happened only if you compile VCL sources and use TeeChart Pro.

If you open source file you may see

{$IFNDEF _TEECHARTPRO}
{$R teebmps.res}
{$ENDIF}

so if you set conditional define _TEECHARTPRO in project settings, the line

{$R teebmps.res}

will be ignored by compiler
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 1 guest

cron