Process: Call a DLL function

Call a function in a native DLL or shared library.

Help Centre › Building Processes

Call a function in a native DLL or shared library.

Add it to a process

In the process designer, open the Add step tab. Find Call a DLL function under Process, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
Library (.dll / .so / .dylib)YesPath to the .dll, .so or .dylib
Function nameYesName of the function to call
ArgumentsNoValues to pass to the function
Argument typesNoThe C type of each argument: int, long, double, float, bool, string, pointer
ReturnsNoThe C type the function returns Choices: Int, Long, Double, Float, Bool, String, Pointer, Void.
Result variableNoName of the variable where the result will be stored Default: result.
Timeout (seconds)NoSeconds before an isolated call is stopped (default 60, 0 for no limit)
Run in its own processNoRun in a separate process so a wrong signature cannot crash the bot (default true) Default: on.

What it gives back

  • {result}
  • {variable} – The function's return value

See all Process steps.

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.