PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
Library,Disk (External language)
In French: Bibli,Disque
Opens the project library that is stored on disk.
Example
// In C
CALLWD("Library,Disk,Account.WDL");
CALLWD("Project,Account");
// In Pascal
CALLWD('Library,Disk,Account.WDL');
CALLWD('Project,Account');
// In VB
call CALLWD("Library,Disk,Account.WDL")
call CALLWD("Project,Account")
Syntax
Library,Disk(<Library Name> [, <"/CR">])
<Library Name>: Character string
Name of the library with the extension and the access path if possible.
<"/CR">: Character string (optional)
Optional status code rreturned by Library,Disk.
Remarks
  • Library, Disk must be called before HInit and Project.
    A library is created by the editor of WINDEV and its extension is WDL. A single library can be opened at a given time.
    The style sheet of the project is loaded by the function:
    Project,<project_name>
  • Library,Disk is called with the "/CR" parameter:
    • If an error occurred when opening the library:
      • The status code "*E*" is returned in the WdKey variable (WDKey in C)
      • WdInt (WDEntier in C) contains a non-existing file, an invalid library and an insufficient memory.
    • If no error occurred when opening the library:
      • WdInt (WDInt in C) contains 0
      • WdKey (WDKey in C) returns an empty string.
    • If no library name is specified, Library,Disk closes the current library.
      The library file remains opened as long as the library is used.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment