MC Projects Security Projects
über MCProjects Forschung Webdesign Links Deutsch ausgewählt switch to English

 

Archive and Compression      

The Archive and Compression ActiveX Component includes two Compressiontools, which can be used for the compression of Files and Folders with high compressionrates. The Archivtyps are ZIP and ACE. In the ActiveX DLL are many parameters configurable.
A ActiveX-DLL is a COM-Component, thats why it can be integrated through the OLE-Automation in many programming languages, such as Visual Basic (VB), Visual C++ (VC) or Delphi.

 

1. Integrated Compressionmethods

2. Functions and Parameter

2.1 ZIP - Archiver
2.2 ACE - Archiver

 

   
 





1. Integrated Compressionmethods

For the implementation of the ActiveX DLL there have been selected two compressionmethods. The ZIP component was choosen, because ZIP is a widespread method and ACE has been selected as a result of its very high compressionrats. Both compressionmethods can be downloaded as trial version from the page of the designer of the component. (ZIP at Bigspeed Net and ACE at Winace.com). The ZIP DLL by Bigspeed Net is the fastest and smallest ZIP DLL on the market. The within the framework of this projects designed ActiveX DLL offers the programmer the use of the functions provided by the both archivetypes in a easy way without the need to include additional code, as it must be done when integrating eighter the ZIP or ACE DLL alone.

back to the overview

 

2. Functions and Parameter

2.1 ZIP - Archiver

The ZIP-Class offers the following functions:

Functionname Add Extract List Test
Returntype long long long long
1. Parameter (DT) sArchiveName (BSTR) sArchiveName (BSTR) sArchiveName (BSTR) sArchiveName (BSTR)
2. Parameter (DT) sFileList (BSTR) sFileList (BSTR)   sPassword (BSTR)
3. Parameter (DT) sFileListArchive (BSTR) sDestinationDir (BSTR)    
4. Parameter (DT) sPassword (BSTR) sPassword (BSTR)    
5. Parameter (DT) lCompressMode (long) UseFolders (boolean)    
6. Parameter (DT) lSpanSize (long) OverwriteExisting (boolean)    
7. Parameter (DT) sComment (BSTR)      
8. Parameter (DT) OverwriteExistingArchiveFile (boolean)      
9. Parameter (DT) SkipNotExistingFiles (boolean)      
10. Parameter (DT) IncludeSubFolders (boolean)      

Additional the function ZipReturnInfo (BSTR) returns a extensive statusinformation of the archive.

 

2.2 ACE - Archiver

The ACE-Class offers the following functions:

Functionname Add Extract EncryptFiles
Returntype long long long
1. Parameter (DT) sArchiveName (BSTR) sArchiveName (BSTR) sArchiveName (BSTR)
2. Parameter (DT) sFileList (BSTR) sFileList (BSTR) sFileList (BSTR)
3. Parameter (DT) sSourceDir (BSTR) sDestinationDir (BSTR) sNewPassword (BSTR)
4. Parameter (DT) sArchiveDir (BSTR) sPassword (BSTR) sOldPassword (BSTR)
5. Parameter (DT) lAddMode (long) ExcludePath (boolean)  
6. Parameter (DT) sPassword (long)    
7. Parameter (DT) sMainComment (BSTR)    
8. Parameter (DT) bCreateSolidArchive (boolean)    
9. Parameter (DT) bAddRecoveryRecord (boolean)    
10. Parameter (DT) bAddAV (boolean)    
11. Parameter (DT) bLockArchive (boolean)    
12. Parameter (DT) IncludeSubFolders (boolean)    

Functionname List Test Delete AddSFX Repair
Returntype long long long long long
1. Parameter (DT) sArchiveName (BSTR) sArchiveName (BSTR) sArchiveName (BSTR) sArchiveName (BSTR) sArchiveName (BSTR)
2. Parameter (DT) sFileList (BSTR) sFileList (BSTR) sFileList (BSTR)    
3. Parameter (DT)   sPassword (BSTR) sPassword (BSTR)    

Functionname Lock AddAV AddRecoveryRecord Register IsAceArchive
Returntype long long long long long
1. Parameter (DT) sArchiveName (BSTR) sArchiveName (BSTR) sArchiveName (BSTR) RegisterCode (BSTR) sArchiveName (BSTR)

Additional the function AceReturnInfo (BSTR) returns a extensive statusinformation of the archive.

back to the overview

 

 

 

   

 


[ about MCProjects ] [ Research ] [ Webdesign ] [ Links ]

 
Copyright © 1999-2004 Unterleitner.info. All Rights Reserved.
Markus C. Unterleitner