ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Component / External component
  • Overview
  • What is a WDO file?
  • .WDO file in detail
  • Example
  • Distributing an external component with a WDO file
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
Overview
When generating the external component, multiple files are automatically created in the EXE directory of the current project:
<Component name>.WDKContains all the WINDEV elements to be redistributed with the component (windows, reports, etc.).
<Component name>.WDIComponent interface. This file contains:
  • a help text on how to use the component when it is reintegrated,
  • the elements required to use the component in the project (compilation information, etc.).
<Component name>.WDZFile with the dependencies of the WDK file (only for WEBDEV and WINDEV Mobile components)
File containing the dependencies of the WDK file. This information is extracted in the project in which the component is integrated.
  • For a WEBDEV component, this file contains the generated WEBDEV pages, images, etc.
  • For a Mobile component (iOS or Android), this file contains the Android generation files, for example.

These files must be distributed along with the component.
If the external component uses additional elements (data files, for example), the following files must be added in the project EXE directory:
  • a <Component name>.WDO file: This file contains the list of external files (data files, text files, etc.) used by the external component. These files must be provided and installed with the external component.
  • the files that must be distributed with the external component. These files can be in a specific subtree. In this case, the code of the external component must manage the access to these files based on this tree structure.
Remark: When distributing an external component via the setup program, the WDO file is automatically created. For more details, see Distributing an external component with a WDO file.
What is a WDO file?

<Component name>.WDO file in detail

The <Component name>.WDO file is a TXT file that can be created and edited at any time. This file can be created and edited with Notepad, the Windows standard text editor.
This file contains the list of external files (data files, text files, etc.) used by the external component. These are also the files that must be provided and installed with the external component. These files must be copied to the EXE directory of the projects that use the external component.
This ".WDO" file can contain:
  • the full name of the file.
    For example: C:\ComponentsWD\PickerComponent\InitialStatus.INI
  • the file name. This file will be searched in the current directory of the external component.
    For example: InitialStatus.INI
  • a file name that uses a relative path. The available syntaxes are as follows:
    - Directory\FileName.xxx to specify a subdirectory of the current directory.
    - .\FileName.xxx to specify the current directory.
    - .\FileName.xx to specify the parent directory.
    For example: \PickerComponent\InitialStatus.INI
This file will be used when including the external component in the project. The paths specified in the WDO file must correspond to the paths where the files are installed on the development computer of the external component.
When including the external component, the tree structure specified in the WDO file will be kept and reproduced in the EXE directory of the project. For more details, see Using an external component in an application.

Example

To provide and install the component with the data file, the WDO file must be created in the EXE directory of the component creation project. This file must contain the following lines:
.\CEDEX.Fic
.\CEDEX.NDX
Distributing an external component with a WDO file
To distribute a component that uses a WDO file, you need to provide:
  • the WDK file (if necessary)
  • the WDI file
  • the WDO file
  • all the necessary files referenced in the WDO file.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/27/2022

Send a report | Local help