Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to zip files in VFP?
Message
From
02/10/2003 16:03:23
 
 
To
02/10/2003 11:28:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00743669
Message ID:
00834467
Views:
74
>>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".
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform