Delphi 2007 'compiled with different version'

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
CraigNZ
Posts: 5
Joined: Tue 21 Sep 2010 00:52

Delphi 2007 'compiled with different version'

Post by CraigNZ » Sat 26 Jul 2014 04:55

Just installed mydac11.exe which I believe is the correct version for Delphi 2007.

Installation completes with no problems. I then add the TMyConnection component to a test program and get this error when I compile:

[DCC Error] Main.pas(7): F2051 Unit MemDS was compiled with a different version of DB.TUpdateStatus.

When I installed Delphi 2007 I did not include the DB components. Is this the reason for the error, or did I install the wrong version of mydac?

PavloP
Devart Team
Posts: 149
Joined: Fri 24 Jan 2014 12:33

Re: Delphi 2007 'compiled with different version'

Post by PavloP » Mon 28 Jul 2014 12:27

MyDAC uses standard Delphi classes, in particular - the ones included into the DB module. Therefore, to use MyDAC, you should re-install Delphi using DB.

Post Reply