delphi - Installing component in dclusr.dpk breakes other components -
first i've installed rx library 2.75 , others.
i'm trying install custom (not mine) component tmylookupedit
derived trxlookupedit
.
thru main menu -> component -> install component... , choose components' .pas file
and when delphi tries rebuild dclusr.dpk (don't remember, reproduce i've found no other way reinstall delphi):
can't load package c:\program files\borland\delphi6\projects\bpl\dclrx6.bpl. cannot load package 'rxctl6.' contains unit 'fileutil,'which contained in package 'rxctl660'
then ide tells me mylookupedit
component installed and 100 other components uninstalled. rx components gone palette
i'm sure i've installed rxctl6 , not rxctl660. both in c:\program files\borland\delphi6\projects\bpl now. clue have #define in dclusr.dpk file (see below)
how can make rx , component work ?
here dclusr.dpk (most #defines 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'} dclusr.dpk
- delete dclusr60.bpl file
- rebuild dclusr.dpk
many serg directions!
i'm sure i've installed rxctl6 , not rxctl660. both in c:\program files\borland\delphi6\projects\bpl
the coexistence of rxctl6.bpl , rxctl660.bpl means rxctl6 package somehow compiled , without {$libsuffix '60'} directive.
i had similar problem after installing updated teechart component package, result teechart - dependent packages became unworkable. quick solution can try replace rxctl6 , rxdb6 rxctl660 , rxdb660 in "required" section. check rx *.dpk sources {$libsuffix '60'} directive - actual problem connected {$libsuffix '60'} directive.
don't reinstall delphi if packages disappear - delphi keeps information installed packages in registry, so
- try fix problem in ide; if not help
- try fix problem in registry
Comments
Post a Comment