Page 1 of 1
Delphi 7 - MemUtils different version of zlib
Posted: Thu 19 Oct 2006 14:18
by HVA
Hello All,
After upgrading to the latest standard version of MyDac 4.40.0.19
I got this error:
Unit MemUtils was compiled with a different version of zlib.zlibAllocMem
Removing all of MyDac and it's traces and reinstalling was of no help.
Is there any solution for this problem ?
Thanks,
Rick
Re: Delphi 7 - MemUtils different version of zlib
Posted: Fri 20 Oct 2006 00:30
by eduardosic
HVA wrote:Hello All,
After upgrading to the latest standard version of MyDac 4.40.0.19
I got this error:
Unit MemUtils was compiled with a different version of zlib.zlibAllocMem
Removing all of MyDac and it's traces and reinstalling was of no help.
Is there any solution for this problem ?
Thanks,
Rick
>>Anteus write
Try to perform following steps to solve this problem:
1) Close IDE
2) Uninstall MyDAC
3) Search for MyAccess.*, DBAccess.*, MySQLMonitor.*, mydac*.bpl, dac*.bpl etc files at your HDD and delete them
4) Remove from the project directory all files made by compiler and linker
5) Remove from the registry (HKCU\Software\Borland\Delphi\7.0\Known Packages) all the links to MyDAC packages (mydac*.bpl, dac*.bpl)
6) Run IDE and check that it is started without errors
7) Close IDE

Install MyDAC once more
Posted: Fri 20 Oct 2006 07:01
by HVA
This is exactly what I have done on the basis of this forums feedback. But I couldn't get round this problem. The only other components I use are the old TurboPower stuff Apro and Ipro.
Many thanks for your feedback.
ok..
Posted: Fri 20 Oct 2006 11:15
by eduardosic
HVA wrote:This is exactly what I have done on the basis of this forums feedback. But I couldn't get round this problem. The only other components I use are the old TurboPower stuff Apro and Ipro.
Many thanks for your feedback.
It looks the other components that use MemUtils and zlib, it removes, it installs mydac, it sees of functions, later installs each component to discover which of them cause the error.
Posted: Fri 20 Oct 2006 11:31
by Antaeus
As we know TurboPower adds ZLib files that are different from Delphi ones. Try to comment (rename) file zlib.pas from TurboPower installation path and remove all dcu files from "Unit output directory" of your project (see Project Options) and run the project.
Posted: Mon 23 Oct 2006 09:35
by HVA
I simply disabled (renamed) the zlib source in Turbopower IPRO source directory and recompiled the project: Problem solved !
Many thanks to Antaeus and eduardosic,
Rick