ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / Project functions
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
Executes a global procedure present in an external component. This external component is loaded with ComponentLoad.
Example
plugin_component is Component
ComponentLoad(plugin_component, plugin_component_physical_name)
plugin_main_interface is ...
MainInterface <- ComponentExecute(plugin_component, "GetMainInterface")
MyComponent is Component
ComponentLoad(MyComponent, "C:\MyComponents\MyComponent.wdk")
ComponentExecute(MyComponent, "MyProcedures.Hello", ("World"))
Syntax
<Result> = ComponentExecute(<Component> , <Procedure> [, <Parameter 1> [... [, <Parameter N>]]])
<Result>: Expected type
Return value of the procedure.
<Component>: Component variable
Name of the Component variable corresponding to the component that contains a function to be executed.
<Procedure>: Character string
Name of the procedure of the external component to be executed.
<Parameter 1>: Optional parameters (the type corresponds to the parameter type)
Optional parameter expected by the procedure. This parameter must be specified between parentheses.
<Parameter N>: Optional parameters (the type corresponds to the parameter type)
Optional parameter expected by the procedure. This parameter must be specified between parentheses.
Remarks
If the call fails, the function causes a fatal error.
Business / UI classification: Neutral code
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/14/2023

Send a report | Local help