ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Archive functions
  • Error codes
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the message associated with an error code on an archive.
New in version 2025
WINDEVWindowsLinux The gzip format (.gz extension) is now supported.
MonArchive is zipArchive 
// Ouverture d'une archive
ResOuvreArchive = zipOpen(MonArchive)
// Erreur d'ouverture d'une archive
IF ResOuvreArchive <> 0 THEN
	// Affichage d'un message d'erreur
	Info(zipMsgError(ResOuvreArchive))
	...
END
Syntax
<Result> = zipMsgError(<Error code>)
<Result>: Character string
Error message associated with the type of error specified.
<Error code>: Integer
Error code returned when handling an archive.
Remarks

Error codes

The following error codes are returned by the archiving functions:
  • 1: Path passed as parameter does not exist.
  • 2: Access denied: user does not have sufficient rights.
  • 3: The archive is corrupt.
  • 4: The path does not exist in the archive.
  • 5: Unable to write to archive.
  • 6: Sub-archive files are not in order (case of extraction from a multi-part archive).
  • 7: The file is already present in the archive.
  • 8: An archive cannot be added to itself. For example, "MyArchive" cannot be added to "MyArchive".
  • 9: Not enough memory to perform the operation.
  • 10: Not enough space to create the executable, or the user does not have write access to the original archive (.WDZ).
  • 11: Icon not found or wrong format.
  • 12: Not enough space to create the executable, or the user does not have read access to the original archive (.WDZ).
Reminder:
  • Linux Only archives in ZIP, gzip, TAR and TGZ (TAR.GZ) formats are available.
  • Java Only ZIP archives are available.
Component: wd300zip.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help