• Opening a RAR archive
zipOpenRAR (Example)
Opening a RAR archive
WINDEVUser code (UMC)Ajax The following code is used to open a RAR archive. The archive to open is selected by fSelect. The archive is opened in read-only (zipRead constant).
// Declare and initialize the variables
ArchiveName is string = "MyArchive"
ArchivePath is string
ResOpenArchive is int
// Select the archive to open
ArchivePath = fSelect("", "", "Select the archive to open", ...
"Archive file" + TAB + "*.RAR", "RAR", fselOpen)
// Open the selected archive
ResOpenArchive = zipOpenRAR(ArchiveName, ArchivePath, zipRead)
Minimum version required
  • Version 12
This page is also available for…
Click [Add] to post a comment