Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using unzip, unrar and unace.dll
Message
From
19/01/2000 20:12:07
 
 
To
19/01/2000 02:23:02
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00318068
Message ID:
00320263
Views:
14
This structure contains embeded data pointers (char*) and embeded function pointers (the last two members).

There's nothing you can do for the pointers to functions. They cannot be handled from VFP. If you really need to
use these members, your only chance is to write a dll or ActiveX/COM to handle this structure. But, most probably,
you can pass nulls (zeros) for these pointers.

For the data pointers you'll need something like my Pointers class (from the Files section). The idea is to build a VFPO
string that will contain the structure data. There are several examples in the zip file of the Pointers class.

Ed Rauh and Christof Lange also have uploaded their solutions (similar to the Pointers class) in the Files section here on UT.

Vlad

>Format of ACEOpenArchiveData structure:
> struct ACEOpenArchiveData
> {
> char *ArcName;
> UINT OpenMode;
> UINT OpenResult;
> UINT Flags;
> UINT Host;
> char AV[51];
> char *CmtBuf;
> UINT CmtBufSize;
> UINT CmtSize;
> UINT CmtState;
> int (*ChangeVolProc)(char *ArcName,int Mode);
> int (*ProcessDataProc)(unsigned char *Addr,int Size);
> };
>
>The function call is:
>HANDLE ACEOpenArchive(struct ACEOpenArchiveData *ArchiveData);
>
>Johan.
Previous
Reply
Map
View

Click here to load this message in the networking platform