This type of "WARNING". Duplicate resource: The resource stored in the file resource has been dropped "appeared to me in Delphi 7 recently when I tried to reinstall the DBISAM database component in the palette.
File D:\DELPHI\DBISAM\db324d6d.res resource kept; file D:\DELPHI\DBISAM\db324d6d.res resource discarded. Type 14 (ICON GROUP), ID MAINICON:
As you can see above, when exactly such a situation with the Delphi error associated with RES appears , there are two identical notifications for the same resource , here in the "D: \ DELPHI \ DBISAM \ db324d6d.res" file.
At first, I thought that there were resources from two vendor packages that contradict each other, so I ripped and tore apart other installed components. After 4 hours or amniotic struggle, I finally discovered that there was another resource link for the DBISAM DPK package file:
package db324d6d; {$R *.res} {$R 'db324d6d.res'} ...
Now I remembered that DBIsam complained about a “missing .RES resource file” about a week ago or so. I regularly checked and made sure that the line exists in the DPK file and the RES file on the disk. At this point, I probably somehow added this second line to the DPK file, but I received the package and I was able to work with it all week.
Now that the excess line has hit, and hit hard. I just love there 4 hours of Saturday's fight.
Soon, how to fix it: delete the last of these resource lines. An error appears while both are pointing to the same resource.
So, only this needs to be left:
package db324d6d; {$R *.res} ...
Hope this helps someone else.