Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Duplicate resource(s)

edited December 2003 in End User
Hi!

I have raised error "Duplicate resource" after I have translated all of
terms in rbDade.res and rbPrint.res.
[Error] WARNING. Duplicate resource(s):
[Error] Type 6 (STRING), ID 44073:
[Error] File e:\program files\borland\delphi7\RBuilder\Lib\rbDADE.res
string kept: "Print in Background"
[Error] File e:\program files\borland\delphi7\RBuilder\Lib\rbPrint.res
string discarded: "?tampanje u pozadini"

I use custom EURExplorer with DADE. Here is uses list of that form:
{$IFDEF Delphi4}
ImgList,
{$ENDIF}

Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, ExtCtrls, IniFiles, Buttons, ComCtrls,
ppTypes, ppUtils, ppRptExp, ppForms, oxMenus, FileUtil, StdCtrls,
ActnList;
and...

implementation

uses
Variants, ppRptExpCommon, funkcijePlus, About, EURDm, EUREditor, funkcije,
DB, ppClass, daDataDictionaryBuilder;


The translated terms are shown correctly... I know that this is not your
error but what to do exactly to remove that error:

THX

Damir Vadas

Comments

  • edited December 2003

    Resource ID's must be unique for the entire application. I just opened
    RBuilder\Languages\Cst\rbDade.rc and there is no 44073. There is a string ID
    44703 in rbPrint.rc.


    --
    Nard Moseley
    Digital Metaphors Corporation
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2003
    THX...my fault!
    There are many articles about that subject so I was not thinking it was so
    easy...
    ;-)
    Happy and succesfull New Year!
    Benjamin


This discussion has been closed.