Discussion:
Slightly OT but here goes:
(too old to reply)
Chris F
2008-07-21 14:36:05 UTC
Permalink
I'm using CB2007 and I keep getting the following error:

Cannot load package 'addict3_d10.' It contains unit
'ad3MainDictionary,'which is also contained in package
'RVPkg2006_AndActions'.

I really don't understand the error but I assume there is a problem in
having ad3MainDictionary in two packages, but I really don't understand why
this is a problem, or more importantly how to solve it.

Any insight would be a great help.

Thanks

Chris F
Ed Dressel
2008-07-21 15:24:24 UTC
Permalink
there is probably two different versions of the same dictionary--or two
different locations of the same dictionary trying to be loaded.
Post by Chris F
Cannot load package 'addict3_d10.' It contains unit
'ad3MainDictionary,'which is also contained in package
'RVPkg2006_AndActions'.
I really don't understand the error but I assume there is a problem in
having ad3MainDictionary in two packages, but I really don't understand
why this is a problem, or more importantly how to solve it.
Any insight would be a great help.
Thanks
Chris F
Nathanial Woolls
2008-07-22 00:00:07 UTC
Permalink
Post by Chris F
Any insight would be a great help.
Generally speaking, two packages can't contain the same unit. Create a new
package, adding ad3MainDictionary to it, and then build your new package
followed by the other two packages. Delphi should pick up that your two
packages need your new package and add it to the requires list.
Hannes Danzl[NDD]
2008-07-22 02:37:07 UTC
Permalink
Post by Nathanial Woolls
Post by Chris F
Any insight would be a great help.
Generally speaking, two packages can't contain the same unit. Create a new
package, adding ad3MainDictionary to it, and then build your new package
followed by the other two packages. Delphi should pick up that your two
packages need your new package and add it to the requires list.
Or make one of the packages explicitely depend on the other (not always easily
possible due to other references)

--
Tony
2008-07-22 06:23:48 UTC
Permalink
Post by Chris F
Cannot load package 'addict3_d10.' It contains unit
'ad3MainDictionary,'which is also contained in package
'RVPkg2006_AndActions'.
I really don't understand the error but I assume there is a problem in
having ad3MainDictionary in two packages, but I really don't understand why
this is a problem, or more importantly how to solve it.
Any insight would be a great help.
Thanks
Chris F
The package RVPkg2006_AndActions package (which is TRichView) already
includes the Addict package. I've seen this same problem with
ShellBrowser and TNT controls before. Are the Addict components not
already installed as part of the TRichView installation?

Loading...