|
|
|
|
|
- Overview
- What is a WDO file?
- .WDO file in detail
- Example
- Distributing an external component with a WDO file
When generating the external component, multiple files are automatically created in the EXE directory of the current project: | | <Component name>.WDK | Contains all the WINDEV elements to be redistributed with the component (windows, reports, etc.). | <Component name>.WDI | Component 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>.WDZ | File 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 <Nom du composant>.WDO file: This file contains a 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.
<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\ComponentSelector\InitialState.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: \RadioButtonComponent\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. 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: 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|