PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

  • Overview
  • What is this WDO file?
  • Details of the .WDO file
  • Example
  • Distributing an external component with WDO
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
Overview
When generating the external component, two files are automatically created in the EXE directory of the current project:
<ComponentName>.WDKContains all the WINDEV elements to distribute (windows, reports, ...) along with the component.
<ComponentName>.WDIInterface of component. This file contains:
  • a help for using the component when it is checked back in,
  • the elements required for using the component in the project (compilation information, ...).
These two files must be distributed along with the external component.
If the external component uses additional elements (data files, ...), the following elements must be added into the EXE directory of the project:
  • a <ComponentName>.WDO file: This file contains the list of external files (data files, text files, ...) used by the external component. These files must be supplied and installed with the external component.
  • the files that must be distributed with the external component. These files can be positioned according to a specific sub-treeview. In this case, the code of the external component must manage the access to these files in this tree structure.
Note: When distributing an external component via the setup program, the WDO file is automatically created. See Distributing an external component with WDO for more details.
What is this WDO file?

Details of the <ComponentName>.WDO file

The <ComponentName>.WDO file is a file in TXT format that can be created and modified at any time. This file can be created and modified with Notepad, the standard text editor of Windows.
This file contains the list of external files (data files, text files, ...) used by the external component and that must be supplied and installed with the external component. These files must be copied into 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:\ComposantsWD\ComposantSélecteur\InitialStatus.INI
  • the file name. This file will be sought in the current directory of external component.
    For example: InitialStatus.INI
  • a file name that is using a relative path. The following syntaxes are accepted:
    - Directory\FileName.xxx to specify a sub-directory 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 path 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 stored and reproduced in the EXE directory of project. See Using an external component in an application for more details.

Example

In order for the component to be supplied and installed with the data file, the WDO file must be created in the EXE directory of project for component creation. This file must contain the following lines:
.\CEDEX.Fic
.\CEDEX.NDX
Distributing an external component with WDO
If no setup procedure is used for the external component, you must supply:
  • the WDK file
  • the WDI file
  • the WDO file
  • all the necessary files referenced in the WDO file.
If a setup procedure is used for the external component, the WDO file will be automatically created when the client version of the component is created.
In the wizard, you must:
  1. Ask to modify the files to install ("Modify the list of files to install" in the "Additional modules").
  2. Select the additional files to install.
The WDO file will be automatically created and installed with the external component.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment