Execute DLL Function Action-Setting Properties

The Execute DLL Function action executes the specified method in a managed or unmanaged dynamic-link library (DLL) and stores the return value of the method in an AutoMate variable.

To set Execute DLL Function Properties:

  1. From the Task Builder Available Actions pane, open the Advanced folder and double-click the Execute DLL Function action or drag it into the Steps pane. A dialog box appears.

  1. In the Dynamic-link library field, enter the name of the library to use. Use the icons to the right of the field to use the Expression Builder or to browse to a specific location.

  2. In the Method Name field, enter the name of the method you want to execute.

  3. In the Method return value type dropdown, select a return value type. The options are:

  1. In the Variable to populate with return value, enter a variable name.

  2. In the Arguments tab, select the type of argument you want to assign a value to from the dropdown.

The available options are:

  1. Click the Add button when you are ready to add the value to the argument list.

  2. To set the Description tab properties, please refer to Description Tab Options.

  3. To set the Error Causes and On Error tab properties, please refer to Step Error Handling.

  4. When finished, click OK to save settings.

See Also

About Actions

Adding Task Steps

Execute DLL Function