FYI: Compiler warnings and runtime exception with 2016.19

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Test Always
Newbie
Newbie
Posts: 14
Joined: Mon Jan 18, 2016 12:00 am

FYI: Compiler warnings and runtime exception with 2016.19

Post by Test Always » Tue Nov 29, 2016 6:14 pm

FYI: I just installed 2016.19 for Seattle (wanting to move my project to Berlin update 2 but have a bit of work to do to get there). When I compile my project, I get the following warnings:
[dcc32 Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID TANNOTATIONTOOL; File D:\DelphiComps\TeeChart Pro 2016.19\Compiled\Delphi23.win32\Lib\TeeTools.res resource kept; file D:\DelphiComps\TeeChart Pro 2016.19\Source\TeeTools.res resource discarded.
[dcc32 Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID TANTIALIASTOOL; File D:\DelphiComps\TeeChart Pro 2016.19\Compiled\Delphi23.win32\Lib\TeeTools.res resource kept; file D:\DelphiComps\TeeChart Pro 2016.19\Source\TeeTools.res resource discarded.
[dcc32 Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID TAREASERIES; File D:\DelphiComps\TeeChart Pro 2016.19\Compiled\Delphi23.win32\Lib\TeeBmps.res resource kept; file D:\DelphiComps\TeeChart Pro 2016.19\Source\TeeBmps.res resource discarded.
[dcc32 Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID TARROWSERIES; File D:\DelphiComps\TeeChart Pro 2016.19\Compiled\Delphi23.win32\Lib\TeeBmps.res resource kept; file D:\DelphiComps\TeeChart Pro 2016.19\Source\TeeBmps.res resource discarded.
...
There were 114 of these. Running the app caused an exception:

---------------------------
Debugger Exception Notification
---------------------------
Project [AppName].exe raised exception class EFilerError with message 'A class named TTextShapeEditor already exists'.
---------------------------
Break Continue Help
---------------------------

I looked at the path and these three items were in it:
$(TEELIBPATH)
$(TEESRCPATH)
D:\DelphiComps\TeeChart Pro 2016.19\Compiled\Delphi23.win32\Lib
I removed the last two (put an "x" in front of them) and everything worked fine.

I am not sure why this happened but before I got to the solution I uninstalled, reinstalled and tried several other items to no avail.

Ed Dressel

Yeray
Site Admin
Site Admin
Posts: 9514
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: FYI: Compiler warnings and runtime exception with 2016.19

Post by Yeray » Wed Nov 30, 2016 11:11 am

Hello,

We are aware that some path entries are being incorrectly added in some occasions. We'll try to fix it in future versions.
Excuse us for the inconvenience generated.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply