TRichView component always shows error message twice when BDS2006 opens my project with RichViewEdit in it:
Can't load package C:\Documents and Settings\Administrator\My Documents\Borland Studio Projects\Bpl\RVPkg2006.bpl.
Component TRVStyle can't be registered by package rvpkg2006.bpl because it has already been registered by package rvpkg2006.bpl
Do you want to attempt to load this package the next time a project is loaded?
[Yes] [No]
I'm answering Yes and everything works fine. BDS2006 SP2
I have a lot of other 3rd party components - everyone loads fine. But TRichView always shows this error.
Probably, it's related to using run-time dependent packages (RichViewActions).
As far as I know, it's better to answer "No", and Delphi will not ask you again, but everything will be loaded fine.
Sorry for resurrecting this old topic, but I didn't find any viable solution anywhere, so this might help someone.
I recently had to transfer a project from Delphi 7 to 2007 and got exactly the same error. After some experimenting I found the solution - just add RVPkgD?.dcp to dependencies of RVActionsD?.BPL project and rebuild.
It seems that RVActions uses RVActionRun which uses RVPkg so Delphi tires to load RVPkg for the second time when loading RVActionRun package, but if it is included in dependencies of RVActions it will no longer try to load it twice.
You use very old version of RichViewActions.
In the new version, RichViewActions* packages are used instead of RVActions* and RVActionsRun*.
Please update your version.