I want to call my Unzip function with 2 arguments,
NumFiles = ExtractFiles( ArchivePathAndName, Files() )
ArchivePathAndName AS STRING * 260 ' no problem
The Array: Files() is used to return 3 things for
each file unzipped from the .ZIP archive
1 - the FilePathAndName AS STRING * 260 of the unzipped file
2 - The Length of the file AS LONG of the unzipped file
3 - the unzipped File AS STRING
So I cant use a TYPE cos the File could be any length
(typically about 1MB) but that is what I need to hold the
different data types.
Can yuo pass a TYPE to a function anyway?
How would you experts handle this?
------------------
Kind Regards
Mike
NumFiles = ExtractFiles( ArchivePathAndName, Files() )
ArchivePathAndName AS STRING * 260 ' no problem
The Array: Files() is used to return 3 things for
each file unzipped from the .ZIP archive
1 - the FilePathAndName AS STRING * 260 of the unzipped file
2 - The Length of the file AS LONG of the unzipped file
3 - the unzipped File AS STRING
So I cant use a TYPE cos the File could be any length
(typically about 1MB) but that is what I need to hold the
different data types.
Can yuo pass a TYPE to a function anyway?
How would you experts handle this?
------------------
Kind Regards
Mike
Comment