Call an External DLL

This instruction is only for the advanced user who has experience in programing.

Call the function contained inside the external DLLs.


  • DLL file name Specifies the file name of the DLL.

  • Function name/ordinal Specifies the function name or ordinal number of the function.

  • Retrieve function by ordinal number Specifies how to retrieve the address of the function.

  • Function arguments Specifies the arguments list of calling function.

  • Store return value into Specifies a variable for storing the return value of calling the function.

  • Data type of return value Specifies the data type of the return value.

  • Release DLL module after calling Specifies whether to release the DLL after calling. With the option unchecked, the DLL module will be released at the end of playback.

The arguments in a function call have the below form:

<Parameter-type code>:<Parameter value 1>;
<Parameter-type code>:<Parameter value 2>;
<Parameter-type code>:<Parameter value n>;

Parameter-type CodeShort CodeDataDescription
IntegerIInteger2 bytes, the hexadecimal notation 0x is supported.
LongLLong4 bytes, the hexadecimal notation 0x is supported.
ByteBByte1 bytes, the hexadecimal notation 0x is supported.
StringSText in DBCS If the character space is included in the text, the text must be quoted by the single or double quotation marks. In this case, the quotation marks could be represented by \' or \".
WStringWText in Unicode
DateDDate and time16 bytes (same as SYSTEMTIME in Windows API), the content should be quoted by the number sign '#'.
PointerPPointer4 bytes, a pointer to the buffer of a variable. The content must be a variable name. You can use the instruction "Advanced Set Variable Value" to pre-allocate the memory for the variable, or use the instruction to fill the variable by a structural data.

Example A:
Integer:10; Long:200; Date:#2007-09-20#; Pointer:v_size;

Example B:(using short code form)
S:Hello; L:0x200; S:"Jack Lee";