Duplicate Resource Errors
Hi:
I have dcluser50.bpl (Includes .pas built with D3) in my BCB5 Projects\bpl
directory. It includes a special navigator which uses the regular navigator resources.
It works fine in BCB5.
I added this package to D5 and it is on palette etc.
It includes a "TransNavigator" where you can explicitly control what happens within
a transaction.
A DBNSGrid which a grid without scrollbars and a DBLookupDelayListBox where you can
set the delay so if a user hesitates more than 2 seconds, they don't loose it.
I had made a test project to check something out and used a delay lookup. I get the
following ERRORS which prevent compiling and which in BCB are warnings and don't
prevent compiling.
Why are these ERRORS in Delphi and not warnings? Delphi3 had no problems with this?
These are the errors which should not be errors. It looks like the error is arising
from trying to load the resources twice. Fine. Discarding a duplicate resource is not
an error that should prevent compiling.
Any insight appreciated. Best regards
[Error] WARNING. Duplicate resource(s):
[Error] Type 2 (BITMAP), ID DBN_CANCEL:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_DELETE:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_EDIT:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_FIRST:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_INSERT:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_LAST:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_NEXT:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_POST:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_PRIOR:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.
[Error] Type 2 (BITMAP), ID DBN_REFRESH:
[Error] File l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource kept; file
l:\program files\borland\delphi5\Lib\DBCTRLS.RES resource discarded.