Print Thread
Cannot load package 'doa40d2006 msg
#9965 09/08/08 06:46 PM
Joined: Oct 2006
Posts: 32
Nebraska
B
Member
OP Offline
Member
B
Joined: Oct 2006
Posts: 32
Nebraska
We have Delphi 2006 and Rad Studio 2007. We have a group of applications compiled using doa40d2006 and we compiled and new application using Rad Studio 2007. The applications share the same library path to the bpls. We copied doa41d2006 into the same libary as doa40d2006 so apps could co-exist. When we try to load a Delphi 2006 bpl we get this message:

Cannot load package 'doa40d2006.' It contains unit 'OracleVisual,' which is also contained in package 'doa41d2006'. The Rad Studio 2007 app runs with no error message.

Can we not run applications compiled with previous versions of doa40d2006?

Thanks.

Bruce

Nebraska Workers' Comp

Re: Cannot load package 'doa40d2006 msg
#9966 09/09/08 03:09 PM
Joined: Aug 1999
Posts: 22,200
Member
Offline
Member
Joined: Aug 1999
Posts: 22,200
I don't think Delphi 2006 and Delphi 2007 can coexist on the same machine.


Marco Kalter
Allround Automations
Re: Cannot load package 'doa40d2006 msg
#9967 09/11/08 01:57 AM
Joined: Oct 2006
Posts: 32
Nebraska
B
Member
OP Offline
Member
B
Joined: Oct 2006
Posts: 32
Nebraska
D7 and D2006 work together because our path points to one folder that contains library components rtl70.bpl and rtl100.bpl as well as doa40d7.bpl and doa40d2006.bpl. We can load a package that requires either doa40d7.bpl and doa40d2006.bpl and do not get the message. We created a D2006 app without DOA and copied the package over to a D2007 library and it runs just fine against the rtl100.bpl. The runtime bpls should be backward compatible anyway. It don't work when we add back DOA components. Can you take another look at you source and see what is causing this?

Thanks again.

Bruce

Re: Cannot load package 'doa40d2006 msg
#9968 09/11/08 03:27 PM
Joined: Aug 1999
Posts: 22,200
Member
Offline
Member
Joined: Aug 1999
Posts: 22,200
It's not our code. Apparently your IDE attempts to load both the doa41d2006 and doa40d2006 package, which is of course not possible since they contain different versions of the same components.


Marco Kalter
Allround Automations
Re: Cannot load package 'doa40d2006 msg
#9969 09/11/08 07:58 PM
Joined: Oct 2006
Posts: 32
Nebraska
B
Member
OP Offline
Member
B
Joined: Oct 2006
Posts: 32
Nebraska
All we do is copy the DOA components and drop them on a form, update the uses clause and the dcp shows up in the requires list. We don't do anything custom as it is all standard out of the box coding.

Thank you for responding Marco.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.036s Queries: 14 (0.009s) Memory: 2.5135 MB (Peak: 3.0393 MB) Data Comp: Off Server Time: 2024-04-20 05:46:23 UTC
Valid HTML 5 and Valid CSS