Can't use MyDac component to build new components

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Can't use MyDac component to build new components

Post by NoComprende » Mon 09 Apr 2007 15:22

If I include any of the MyDac components in my package where I create my own components I get the following message

The following changes are necessary to make this package compatible with other installed packages.
Choose OK to apply these changes and rebuild the package.

Add dac60.


If I click OK and then try to install the package I get a message box stating the following

Cannot load package 'NewObjectsPackage'. It contains unit 'Daconsts' which is also contained in package 'dac60'.

The NewObjectsPackage 'Requires' list contains

bdertl.bpi
dbrtl.bpi
rtl.bpi
vcl.bpi
vcldb.bpi

I'm using BCB6 and MyDac 5.00.0.1 beta.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Tue 10 Apr 2007 09:41

Try to add the dac60 and mydac60 packages to the 'Requires' list. This should solve the problem.

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Tue 10 Apr 2007 17:37

Thanks Antaeus but, I'm still getting the message

Cannot load package 'NewObjectsPackage'. It contains unit 'Daconsts' which is also contained in package 'dac60'.

As other weird things are happening on loading I suspect the package has become corrupted. When I have time, I will try and build a new package from scratch and get back to you if I have no success.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Thu 12 Apr 2007 06:54

I tried to reproduce the problem but with no success. Try to make a small sample project to reproduce it. You can send the sample to me at evgeniyd*crlab*com.

NoComprende
Posts: 135
Joined: Tue 09 Jan 2007 13:44

Post by NoComprende » Thu 12 Apr 2007 07:44

Thanks Antaeus. Will do as soon as I have the time.

Post Reply