PC SOFT

WINDEV的在线文档

  • General case: an application or a site associated with a library
  • Special case: Dividing an application or a site into several libraries
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

General case: an application or a site associated with a library
A library is a WDL file that contains all the resources of WinDev, WebDev or WinDev Mobile: windows, pages, reports, classes, sets of procedures, data files, ...

This file is opened by the executable or by the site. The necessary elements are automatically loaded when they are used.

WinDev When creating the executable, the library corresponding to the project is generated. It can be included (or not) in the executable. See Creating an executable for more details.
Note: For backward compatibility with version 5.5, you have the ability to create an executable without library. See Creating an executable without library for more details.

Special case: Dividing an application or a site into several libraries
When using large projects (several hundreds of windows for example), to optimize the time used to load the project in the editor, you have the ability to divide the project into:
  • a main project of "Executable" or "Site" type.
  • one or more projects of "Library" type. Each "Library" project groups the project elements associated with a theme.
The main project is used to create the main library. This library is created when creating the executable. This library contains the elements specific to the project: analysis, project, ... The main library cannot be shared among several projects. It is unique for each project.

The "Library" projects are used to create the secondary libraries of the application, grouping the application elements by theme.

For example, a project for business management groups several hundreds of windows and reports. To optimize its loading in the editor, this project is divided into:

  • a main project. This project creates the main library and uses the secondary libraries.
  • a "Customer management" project. This project is used to create a secondary library.
  • an "Order management" project. This project is used to create a secondary library.
  • ...

See Use several libraries for more details.

Note: To share resources among applications or sites, we recommend that you use the external or internal components. They are very easy to use. For more details, see: