Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to get rid of remobjects pascal script duplicate resource warnings

17 views
Skip to first unread message

Skybuck Flying

unread,
Oct 21, 2012, 9:13:03 PM10/21/12
to
Hello,

One of my application uses remobjects's pascal script, and during
compile/build it generates these warnings, how to get rid of these warnings
?

[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSDLLPLUGIN; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSIMPORT_CLASSES; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSIMPORT_COMOBJ; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSIMPORT_CONTROLS; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSIMPORT_DATEUTILS; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSIMPORT_DB; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSIMPORT_FORMS; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSIMPORT_STDCTRLS; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSSCRIPT; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.
[DCC Hint] H2161 Warning: Duplicate resource: Type 2 (BITMAP), ID
TPSSCRIPTDEBUGGER; File
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource kept; file
K:\Delphi\Libraries\remobjects-pascalscript-52291ff\Source\PascalScript_Core_Glyphs.res
resource discarded.


Bye,
Skybuck.

Skybuck Flying

unread,
Oct 21, 2012, 9:17:51 PM10/21/12
to
Never mind, I figured it out.

I was a bit lazy and added all remobjects pascal script source files to the
project and this creates the duplicate resource warnings.

It turns out only these two files need to be added to make the runtime work:

uPSRuntime
uPSUtils

By only including these two, or whatever is needed the resource warnings go
away.

Bye,
Skybuck.

0 new messages