Page 1 of 1

Devart Data Access Components for MySQL installed Delphi 2007 instal error

Posted: Thu 10 Jan 2013 16:09
by METEHAN
Devart Data Access Components for MySQL installed Delphi 2007 on the application, but when we ran exeman gives the following error.
Error code: F2051 Unit MySqlApi was compiled with a different version of MemUtils.CopyBuffer
what is the reason.

Re: Devart Data Access Components for MySQL installed Delphi 2007 instal error

Posted: Thu 10 Jan 2013 16:19
by AndreyZ
Such problem shows 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;
- reinstall MyDAC.

Re: Devart Data Access Components for MySQL installed Delphi 2007 instal error

Posted: Thu 10 Jan 2013 19:33
by METEHAN
I did what you said but still the same problem

Re: Devart Data Access Components for MySQL installed Delphi 2007 instal error

Posted: Fri 11 Jan 2013 08:55
by AndreyZ
Try the following:
- remove MyDAC;
- reinstall MyDAC with the /force parameter like this: mydac76d11pro.exe /force
- rebuild your application.

Re: Devart Data Access Components for MySQL installed Delphi 2007 instal error

Posted: Sun 13 Jan 2013 16:34
by METEHAN
errors in the installation is okay, but MyClasses.pas.
Error code:
[DCC Error] MyClasses.pas (204): E2137 Method 'GetCommandClass' not found in base class

line information:
function GetCommandClass: TCRCommandClass; override;

Re: Devart Data Access Components for MySQL installed Delphi 2007 instal error

Posted: Mon 14 Jan 2013 12:26
by AndreyZ
It seems that there are source code files from the old MyDAC version left on your computer. For example, the "Method 'GetCommandClass' not found in base class" error means that you have an old CRAccess.pas file but a new MyClasses.pas file. If you are using MyDAC version with Source Code, you should replace all source files from the old MyDAC version with the ones from the new MyDAC version. Please try the following:
- remove MyDAC;
- remove all *dac*.bpl and *crcontrols*.bpl files from your computer;
- remove *.dcu files from your project;
- remove all *.pas file from the old MyDAC version from your computer;
- reinstall MyDAC.