Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with DECLARE command
Message
From
15/02/2003 09:10:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00753679
Message ID:
00753684
Views:
18
>Thanks Cetin
>
>The function is COMPRESS. The interface (in VB) is the following:
>
>Declare Function compress Lib "ZLIB.DLL" (ByVal compr As
> String, comprLen As Any, ByVal buf As String, ByVal buflen
> As Long) As Integer

Oh you're following VB samples :)
Its original declaration is as :

int compress (Bytef *dest, uLongf *destLen, const Bytef *source, uLong sourceLen);

Declaration in VFP :
Declare integer compress in "zlib.dll" ;
string @ dest, integer @ destLen, string @ src, integer srcLen

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform