PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Managing errors
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
fSizeUncompressed (Function)
In French: fTailleDécompacté
Returns the size of a file before compression.
When a file is decompressed by fUncompress, we recommend that you to compare the non-compressed size of file with the available disk space.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
// Size of file before compression
ResDecompressedSize = fSizeUncompressed("C:\MyDirectories\File.doc")
Syntax
<Result> = fSizeUncompressed(<File Path>)
<Result>: Integer
  • Size of file before compression (in bytes),
  • -1 if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
  • -2 if the file was not compressed by fCompress or if the file was compressed by WINDEV version 4 (4.0 or 4.1).
<File Path>: Character string (with quotes)
Name and full (or relative) path of compressed file (up to 260 characters). A UNC path can be used. This file must have been compressed by fCompress. The wildcard characters (* and?) are not allowed.
Versions 15 and later
WINDEVWindows This parameter can be in Ansi or Unicode format.
New in version 15
WINDEVWindows This parameter can be in Ansi or Unicode format.
WINDEVWindows This parameter can be in Ansi or Unicode format.
Remarks

Managing errors

fSizeUncompressed generates an error in the following cases:
  • the specified file does not exist,
  • the name of the specified file is invalid,
  • the file is already locked by another application.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230std.dll
Linux wd230std.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment