Delphi 2007 installation issues of MyDAC 8.1

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
John Smith22
Posts: 15
Joined: Thu 19 Apr 2012 13:49

Delphi 2007 installation issues of MyDAC 8.1

Post by John Smith22 » Wed 13 Nov 2013 19:38

I installed MyDAC 8.1 under Delphi 2007.
However I keep receiving this error when Delphi 2007 IDE starts up:
(message below is translated into English from another language so actual message may differ)

Cannot find access point of procedure
@Dbaccess@TDATransaction@SetDefaultConnection$qqrp28DBAccess@TCustomDAConnection in DLL dac105.bpl

I'm using Delphi 2007 version December 2007 with hotfix of April 2008.
What's the missing link here?

John Smith22
Posts: 15
Joined: Thu 19 Apr 2012 13:49

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by John Smith22 » Wed 13 Nov 2013 19:48

Problem seems to be quite fundamental.
When I install MyDAC 7.11 it generates the same error at IDE startup.

John Smith22
Posts: 15
Joined: Thu 19 Apr 2012 13:49

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by John Smith22 » Wed 13 Nov 2013 19:56

Some more information.

On an older D2007 (version 11.0.2804.9245) MyDAC 7.11 installed successfully quite some time ago.

On my newest D2007 installation (version 11.0.2902.10471) both MyDAC 7.11 and 8.1.4 generate the problem described above.

AndreyZ

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by AndreyZ » Thu 14 Nov 2013 09:39

Such problems show that there are still files from the old MyDAC version on your computer. Please try the following:
- remove MyDAC;
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
- remove *.dcu files from your project;
- install MyDAC.

John Smith22
Posts: 15
Joined: Thu 19 Apr 2012 13:49

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by John Smith22 » Thu 14 Nov 2013 10:24

I will try this tonight. The machine in question was brand new and has D7, D2007, XE2 and XE4 installed.

Removing all *dac*.bpl and *crcontrols*.bpl from my computer will certainly affect not only D2007 but also the D7, XE2 and XE4 installations.

Are you trying to tell me that I should remove MyDAC from all Delphi installations, then
remove all *dac*.bpl from my computer (so that I have a "clean" system with respect to MyDAC) and then reinstall MyDAC for all Delphi installations starting with D2007?
And are there also registry issues that may cause these problems?

AndreyZ

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by AndreyZ » Thu 14 Nov 2013 11:02

Removing all *dac*.bpl and *crcontrols*.bpl from my computer will certainly affect not only D2007 but also the D7, XE2 and XE4 installations.
You are right. If you have MyDAC installed for several IDEs, you should use the following steps:
- remove MyDAC for RAD Studio 2007;
- remove all *dac*105*.bpl and *crcontrols*105*.bpl files from your computer;
- remove *.dcu files from your project;
- install MyDAC for RAD Studio 2007.
These steps affect only RAD Studio 2007.
And are there also registry issues that may cause these problems?
No.

John Smith22
Posts: 15
Joined: Thu 19 Apr 2012 13:49

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by John Smith22 » Thu 14 Nov 2013 15:40

Yes, this was the source of all problems.
I found and deleted the *dac*105*.bpl and *crcontrols*105*.bpl files and deleted all project dcu files.
After that I reinstalled MyDAC 8.1 and D2007 now starts without any error messages.
Thanks.

AndreyZ

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by AndreyZ » Thu 14 Nov 2013 16:27

I am glad I could help. If any other questions come up, please contact us.

John Smith22
Posts: 15
Joined: Thu 19 Apr 2012 13:49

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by John Smith22 » Thu 14 Nov 2013 20:20

Nice to see that this is such an active and responsive forum.
успех to all of you :wink:

AndreyZ

Re: Delphi 2007 installation issues of MyDAC 8.1

Post by AndreyZ » Fri 15 Nov 2013 08:47

Thank you.

Post Reply