ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Miscellaneous WINDEV functions
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
Loads a library of WINDEV objects in memory (.WDL). This function is used to:
  • use custom libraries for each user. This allows you to create several libraries and to install one of these libraries according to the user.
  • divide a "large" library into several "smaller' libraries, loaded upon request.
This library will be loaded in memory until:
Example
// Initialization code of project
// The library depends on the user
LibraryName, User are strings
hWDL_ is int
User = CommandLine("User")
SWITCH User
CASE User1: LibraryName = "USER1.WDL"
CASE User2: LibraryName = "USER2.WDL"
CASE User3: LibraryName = "USER3.WDL"
END
hWDL_ = LoadWDL(LibraryName)
Syntax
<Result> = LoadWDL(<Library name>)
<Result>: Integer
  • Identification number (handle) of the library
  • -1 if the library failed to be loaded.
<Library name>: Character string
Name and full (or relative) path of the library to load.
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help