Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot find entry point Compress in the dll (zlib.dll)
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Cannot find entry point Compress in the dll (zlib.dll)
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01352942
Message ID:
01352942
Views:
144
Dear all
I have the following code to try and compress a string:
lcOutput = "this string is to be compressed"
llen = LEN(lcOutput)
lcBuff = SPACE(LEN(lcOutput)*1.2)
lnFinalSize = LEN( lcBuff )
DECLARE integer Compress IN d:\webserv\zlib.dll as zlibCompress ;
 string @ dest, integer @ destlen, string src, integer srcLen
Res = zlibCompress( @lcBuff, @lnFinalSize, lcOutput, lLen )
The last line fails, with the error message found in the subject. While googling a bit for the error, i saw suggestions to register the dll. I try to register, and i get the following message: "zlib.dll was loaded, but the DLLRegisterServer entry point was not found. The file cannot be registered. I don't know where did i get that version of zlib, maybe trying a newer version?

Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Next
Reply
Map
View

Click here to load this message in the networking platform