First I've installed RX library 2.75 and some others.
Then I'm trying to install custom (not mine) component TMyLookupEdit
which is derived from TRxLookupEdit
.
I do it thru main menu -> Component -> Install Component... and choose components' .pas file
And when Delphi tries to rebuild dclusr.dpk I get something like this (don't remember, to reproduce it I've found no other way but to reinstall Delphi):
Can't load package c:\program files\borland\delphi6\Projects\Bpl\dclrx6.bpl.
Cannot load package 'RxCtl6.' It contains unit 'FileUtil,'which is also contained in package 'RxCtl660'
Then IDE tells me that MyLookupEdit
component is installed and about 100 other components are uninstalled. All RX components are gone from palette
I'm sure I've installed only RxCtl6 and not RxCtl660. But they are both in C:\Program Files\Borland\Delphi6\Projects\Bpl now. The only clue I have is that #define in dclusr.dpk file (see below)
How can I make RX and this component work together ?
Here is my dclusr.dpk (most #defines are omitted):
{$LIBSUFFIX '60'}
requires
rtl,
vcl,
designide,
vcldb,
dbrtl,
vclx,
VclSmp,
RxCtl6,
RxDB6;
contains
RegGrid in '..\..\..\..\_work\Delphi\__Install\__Components\No-package components\RegGrid\RegGrid.pas',
Tabenter in '..\..\..\..\_work\Delphi\__Install\__Components\No-package components\TABENTER.PAS',
MyLE in '..\..\..\..\_work\Delphi\__Install\__Components\No-package components\MyLookupEdit\MyLE.pas';
end.
Solution
- Remove {$LIBSUFFIX '60'} from dclusr.dpk
- Delete dclusr60.bpl file
- Rebuild dclusr.dpk
Many thanks to Serg for directions!