Page 1 of 1

FYI: Compiler warnings and runtime exception with 2016.19

Posted: Tue Nov 29, 2016 6:14 pm
by 16577368
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

Re: FYI: Compiler warnings and runtime exception with 2016.19

Posted: Wed Nov 30, 2016 11:11 am
by yeray
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.