Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing array to zip32.dll
Message
De
25/11/1999 13:23:30
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00295280
Message ID:
00295603
Vues:
19
>check out my Struct class here in the library for an example about how to pass an array to an API function. Basically, you need:
>
>DEFINE CLASS FilesArray AS STRUCT
>   DIMENSION aFiles[1]
>   cMembers = "pz:aFiles"
>ENDDEFINE
>
>declare long ZpArchive in zip32.dll ;
>long argc, string funame , string Zipnames
>
>oFiles = CREATEOBJECT("FilesArray")
>Dimension oFiles.aFiles[2]
>oFiles.Requery()
>oFiles.aFiles[1] = "Test1.Exe"
>oFiles.aFiles[2] = "Test2.Txt"
>? ZpArchive( 2, 'test.zip', oFiles.GetString() )
>
Christof,

There are no Requery() nor GetString() methods in struct class
dated 08/24/1997
There is Reset() method but what to call instead of GetString() ?

Is there any documentation of examples of usage of this class?
Andrus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform