PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Special case: ".WDD" file (analysis description)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Extracts a resource from the application into a physical device location.
Remarks:
  • Versions 23 and later
    WindowsLinux In WINDEV applications or WEBDEV sites, the resource to extract must be:
    • in the "Other" category of the Project explorer component,
    • in the main library of the application (WDL file).
    New in version 23
    WindowsLinux In WINDEV applications or WEBDEV sites, the resource to extract must be:
    • in the "Other" category of the Project explorer component,
    • in the main library of the application (WDL file).
    WindowsLinux In WINDEV applications or WEBDEV sites, the resource to extract must be:
    • in the "Other" category of the Project explorer component,
    • in the main library of the application (WDL file).
Versions 23 and later
WindowsLinux This function is now available for Windows and Linux applications.
WEBDEV - Server codeWindowsLinux This function is now available for Windows and Linux sites.
New in version 23
WindowsLinux This function is now available for Windows and Linux applications.
WEBDEV - Server codeWindowsLinux This function is now available for Windows and Linux sites.
WindowsLinux This function is now available for Windows and Linux applications.
WEBDEV - Server codeWindowsLinux This function is now available for Windows and Linux sites.
Example
Syntax
<Result> = fExtractResource(<Resource name> [, <Destination>])
<Result>: Boolean
  • True if the resource was extracted,
  • False otherwise. In case of error, the Variable ErrorOccurred is to True. To get the details of the error, use ErrorInfo.
<Resource name>: Character string
Name of resource to extract (file name with its extension).
Versions 23 and later
WindowsLinux The resource to extract must be found in the main application library (WDL file). The library must have not been loaded by LoadWDL.
New in version 23
WindowsLinux The resource to extract must be found in the main application library (WDL file). The library must have not been loaded by LoadWDL.
WindowsLinux The resource to extract must be found in the main application library (WDL file). The library must have not been loaded by LoadWDL.
<Destination>: Optional character string
Versions 23 and later
WindowsLinux Full path of destination file.
If the directory exists, the resource is directly extracted into this directory.
The directory is created if it does not exist.
If this parameter is not specified or if it corresponds to an empty string (""), the resource will be extracted into the application data directory (returned by fDataDir) in a file named like the resource.
The destination file will be overwritten if it already exists before the extraction.
New in version 23
WindowsLinux Full path of destination file.
If the directory exists, the resource is directly extracted into this directory.
The directory is created if it does not exist.
If this parameter is not specified or if it corresponds to an empty string (""), the resource will be extracted into the application data directory (returned by fDataDir) in a file named like the resource.
The destination file will be overwritten if it already exists before the extraction.
WindowsLinux Full path of destination file.
If the directory exists, the resource is directly extracted into this directory.
The directory is created if it does not exist.
If this parameter is not specified or if it corresponds to an empty string (""), the resource will be extracted into the application data directory (returned by fDataDir) in a file named like the resource.
The destination file will be overwritten if it already exists before the extraction.
Remarks

Special case: ".WDD" file (analysis description)

An analysis description (".WDD" file) integrated to the library of an application cannot be extracted.
To extract a file from a library that cannot be extracted by fExtractResource, you can use an HFSQL data file integrated in the library.
Component: wd270vm.dll
Minimum version required
  • Version 16
This page is also available for…
Comments
Click [Add] to post a comment