Executes a global procedure present in an external component. This external component is loaded with
ComponentLoad.
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