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
Project (External language)
In French: Projet
Opens and runs a WINDEV project. The first project window is displayed and the input is automatically enabled in this window.
Example
// In C
CALLWD("Project,Account");
// In Pascal
CALLWD('Project,Account');
// In VB
call CALLWD("Project,Account")
Syntax
Project(<Project Name>)
<Project Name>: Character string
Name of the project to start. When running the project, the style sheet of the project library is loaded.
Remarks
  • Important: Project must be called after Library,Disk and before HInit.
  • If a first window was selected in the list of projects, this window will be opened by Project. To avoid opening a window, select <None> as first window in the list of project windows.
  • A program written in C or in Pascal may only contain the function for starting the project.
  • WdKey contains "*E*" if an error occurred during the opening.
  • If a window calls some global variables or procedures, the project must be run by Project before opening the window, otherwise the global variables or procedures and the style sheet will not be recognized.
  • Several projects can be called in the same program. To do so, the current project must be closed before opening another one. To close the current project, use the following syntax:
    • Example in C:
      HInit(&stArrCtn[0],NBCTN);
      CALLWD("LIBRA,,DISK,MYLIBRARY");
      CALLWD("PROJECT,MyProject");
    • Example in Pascal:
      HInit;
      CALLWD('PROJECT, LIBRARY,DISK,MYLIBRARY');
      CALLWD('PROJECT, MyProject');
    • Example in VB:
      call HInit
      call CALLWD("PROJECT, BLIBRARY,DISK,MYLIBRARY ")
      call CALLWD("PROJECT, MyProject ")
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment