1. Computing

Fixing the "Duplicate resource" error

By

If you are trying to link custom resources to your Delphi application, you mighz get the "Duplicate resource" error. Here's how to deal with it.

The projects resource file name is generated by the Delphi IDE wizard, and should not be modified. Delphi generated resources ("{$R *.DFM} for example") contain any imagesyou placed on a buttons, for example.

To add additional resources to your project, create a separate resource file with a unique name that does not conflict with either the project or any of the unit names.

Delphi tips navigator:
» How to (bulk) import data from an ASCII (.txt) file into a DB using ADO
« How to allow column resize but disable movement (in TDBGrid)

©2014 About.com. All rights reserved.