Delphi 7 compile error - “Duplicate resource(s)” between .res and .dfm
Posted
by Robo
on Stack Overflow
See other posts from Stack Overflow
or by Robo
Published on 2008-10-08T21:58:38Z
Indexed on
2010/05/30
5:32 UTC
Read the original article
Hit count: 398
delphi
|duplicate-resource
I got a very similar error to the one below:
However, the error I got is this:
[Error] WARNING. Duplicate resource(s):
[Error] Type 10 (RCDATA), ID TFMMAINTQUOTE:
[Error] File P:\[PATH SNIPPED]\Manufacturing.RES resource kept; file FMaintQuote.DFM resource discarded.
Manufacturing.res is the default resource file (application is called Manufacturing.exe), and FMainQuote is one of the forms. .dfm files are plain text files, so I'm not sure what resources is being duplicated, how to find it and fix it?
If I tried to compile the project again, it works OK, but the exe's icon is different to the one I've set in Project Options using the "Load Icon" button. The icon on the app is some sort of bell image that I don't recognize.
© Stack Overflow or respective owner