>>Zlib.dll is freeware and so many devloper in world using it.
>
>Hi Tao,
> I too am having trouble with the Zlib.dll giving me the error
>"cannot find entry point COMPRESS in the dll". I placed the DLL
>in the Windows System and Syetem32 but it did not work. I am using
>your code:
>
>FUNCTION compressit( infile )
>DECLARE INTEGER COMPRESS IN zlib-1.DLL AS zlibCompress ;
>STRING @ DEST, INTEGER @ destLen, ;
>STRING src, INTEGER srcLen
>
>I am running Windows 2000.
>
>Got any ideas what might be wrong?
>Thanks,
>Terry
Is the function name in your DLL actually "COMPRESS"? The DECLARE statement requires a case-sensitive name, so more than likely, your name should be "Compress".