Duplicate Resource identifier (c:/delphi/lib/controls.res) ERROR!
I keep getting this... I don't know what's wrong... my project .RES
called (project1.res) doesn't have a single thing that's in common
with controls.res!
This is driving me absolutely nuts... the only thing I ever did was
to delete {$R .res} in the project file but since the, I've replaced
that line...
Answer
A:
Do you have the VCL source? If so, you may want to recompile the whole thing
by adding that directory to your Library path in Environment Options | Library.
I think I had to do this once to get rid of such an error. Another thing to
do is to figure out which $R directive is causing the problem, by removing it
temporarily and recompiling. You can temporarily disable the $R directive by
adding a '.' before the $ (that's one of many ways to do it).
A:
You probably have subclassed one of the built in VCL's. You need to be sure
that the resource identifier for your icon is unique. Just pull it up in any
resource editor and change its number. Then you should be able to rebuild your
library.