ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / C functions
  • Use
  • Syntax
  • Notes
  • Return value
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
nWDGetLastError: Error code of last error
Use
Error code of last error.
Syntax
Int      nWDGetLastError(void);
Notes

Return value

Constant among the following constants:
NameValueMeaning
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
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help