We inherited a D6 app with a big support.bpl package that was a
mixture of design and runtime.
I moved all design time stuff to a new SupportDesign package, and
installed this into the IDE. It requires support.bpl.
The app is 'build with runtime packages'. The runtime Support.bpl is
in the directory of the app.
The problem is now: if we load the app the design time package is
unchecked in Components/Packages and we get the error "Can't load
Supportdesign.bpl. Cannot load package Support. It contains unit
system which is also contained in package rtl60", and subsequently a
lot of components can't be found.
Now the funny part: if we do File/Close all, then check the design
time package in Components/Packages, we can load and even run the app!
We removed the software\borland\6.0\editor\disabled packages key, and
we made sure the folder of the runtime package is in the PATH.
What can be going on here?
Note: the makers of this bpl helped us by copying RegisterComponents
calls to one support_reg.pas that I could move to the design package.
However there are still RegisterComponent calls in the individual
source files (in Register procedures). These do not seem to get
called, so we've left them in for the time being.
We do not try to hang Supporrt.bpl into the IDE, so that should not be
the problem, right?
TIA
Jan