Compiled with different versions...

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tm
Posts: 2
Joined: Wed 30 May 2007 14:38

Compiled with different versions...

Post by tm » Wed 30 May 2007 14:46

Installed 4.00.07 under Delphi 7. Tried compiling the demo and got the following error message:
Unit MemUtils was compiled with a different version of zlib.zlibAllocMem
Now, the FAQ states uninstall, manually clear all (if necessary) and reinstall. Having tryed that twice with same results, I decided to ask on the forum.

Any suggestions would be welcome.

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Thu 31 May 2007 07:59

Do you have any other DAC products installed?
The product compatibility is provided for current build only.
In other words, if you upgrade either of the installed products it
may conflict with older builds of another ones. In order to continue
using products simultaneously you should upgrade all of them at the
same time.

tm
Posts: 2
Joined: Wed 30 May 2007 14:38

Post by tm » Thu 31 May 2007 08:25

No other DAC products installed

Jackson
Posts: 512
Joined: Thu 26 Jan 2006 10:06

Post by Jackson » Thu 31 May 2007 12:52

As we know, TurboPower adds ZLib files that are different from Delphi ones.
Try to comment (rename) file zlib.pas from the TurboPower installation directory, and remove all dcu files from "Unit output directory" of your project (see Project Options), and run the project.

Post Reply