PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Principle
  • Constants
  • The functions
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
Principle
You will find below the description of the functions accessible in C language to interface your WINDEV modules inside a C source code.
The parameters expected by each command are presented in details as well as the specific features.
Constants
The functions that return an int indicating the result of the command use the following constants (defined in wdextern.h):
Name Value Meaning
WDERROR_OK0Success
WDERROR_VERSION1Incompatible version number
WDERROR_DLLLOAD2Problem loading the DLL
WDERROR_WDLLOAD3Problem loading the WDL
WDERROR_DLLCPL4Compilation DLL not found
WDERROR_CPLERROR5Compilation error
WDERROR_MEMORY6Out of memory
WDERROR_TYPE8Non-convertible type
WDERROR_INIT9External language not initialized
WDERROR_EXECUTION10Runtime error
WDERROR_ERROR11Previous error not processed
WDERROR_COMMAND12Command of nWDExecute too long
WDERROR_INITPROJECT13The initialization code of project was already run
WDERROR_UNKNOWNELEMENT14Unknown element
The functions
nWDEvaluateEvaluating the value of an element
nWDExecuteRun a WLanguage function by dynamic compilation, with command formatting.
nWDExecuteExRun a WLanguage function by dynamic compilation, without command formatting.
nWDGetHFContextRetrieve the HyperFileSQL context (C, Pascal and Basic only)
nWDGetLastErrorError code of last error
nWDInitInitialize the external language
nWDInitProjectRun the initialization code of the project
nWDOpenWDLOpens a WINDEV library (containing windows, reports and so on)
nWDSetCallBackNextSets the callback called during WDKey and ReturnWDKey for the next window to open
nWDSetParentNextSet the parent of the next window to open
pszWDGetLastErrorMessage of last error
WDContinueErrorResume on error
WDTermEnd the external language
wWDGetReturnValueTypeType of the return value of the last nWDExecute() or nWDEvaluate()
bWDGetReturnValue
nWDGetReturnValue
i64WDGetReturnValue
dWDGetReturnValue
pszWDGetReturnValue
Retrieve the return value further to a call to nWDExecute() or nWDEvalue()
Minimum required version
  • Version 9
Comments
Click [Add] to post a comment