PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

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
Loads in memory the file containing the error messages in the requested language. This file must have been created by WDINT (translation tool).
This function must be called in the initialization code of project in order to display the error messages generated by the DLLs of WINDEV, WINDEV Mobile and WEBDEV in the requested language.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 22
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 23 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
New in version 23
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Example
IF LoadError("GERMAN.WDM") > 0 THEN
Error("File containing the messages in German not found", ...
"The messages will be displayed in French")
END
Syntax
<Result> = LoadError(<Name of WDM File>)
<Result>: Integer
status report for loading the file of errors:
  • 0 if the load operation was successfully performed,
  • 1 if <Name of WDM file> was not found,
  • 2 if <Name of WDM file> was found but it did not have the expected structure,
  • 3 if <Name of WDM file> could not be initialized,
  • 4 if <Name of WDM file> is not a library,
  • 5 if <Name of WDM file> could not be loaded in memory.
<Name of WDM File>: Character string (with quotes)
Name of the file of error messages to use (.WDM extension). This name can be a full name or a relative name. This file must have been created by WDINT (tool for translating messages not supplied in standard with WINDEV, WINDEV Mobile or WEBDEV).
Remarks
  • If the "English" language (for example) is chosen in the window editor (or in the page editor), all the executable programs created by WINDEV/WINDEV Mobile (or the sites created by WEBDEV) will be run in English. To do so, the translation in English of the elements found in the application (or in the site) must have been entered in the different editors. Nation is used to modify the runtime language of the application by programming.
  • LoadError cannot be used to load files other than the ones created by WDINT.EXE.
  • If no file is loaded by LoadError, the error messages will be displayed in French by default.
  • LoadError is independent of Nation. If an error file is available for each language supported by the application (or the site), this WDM file must be reloaded after each change of language performed by Nation
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Java wd230java.jar
Linux wd230vm.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment