Zlib1.dll in Windows 64 bit

I get an incompatible version error while using zlib1.dll in the my Windows 64 Bit application. But the dll works fine in the 32 bit Windows version.
I don’t think there is a problem with the application locating the dll.
Any help ?

you would need a 64bit dll instead of the 32bit dll.

I am unable to find a 64 bit pre-compiled zlib version.
Can you provide me with any link please ?

[quote=364178:@Chellappan Palaniappan]I am unable to find a 64 bit pre-compiled zlib version.
Can you provide me with any link please ?[/quote]

i don’t have one for you, you’d have to compile it or search online.

did you add it yourself of is it part of xojo somehow?

Very old one here:

http://www.winimage.com/zLibDll/index.html

What are you trying to do?

I have developed a pdf utility. zlib is necessary to encode and decode object streams.
In Mac zlib is part of the OS. But in windows we need the zlib1.dll
zlib1.dll is a 32 bit dll. It works fine for the 32 bit Xojo build but not for the 64 bit build.

Try to put that dll in %windows%\SysWOW64 directory (folder) and test it then.
and from command prompt (terminal) as admin run in that directory (folder) bellow command:
regsvr32 zlib1.dll

Try this pre-compile zlib.