Duplicate resource(s)
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
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
This discussion has been closed.
Comments
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
There are many articles about that subject so I was not thinking it was so
easy...
;-)
Happy and succesfull New Year!
Benjamin