Calling a Windows DLL from Within a Script

All classes and annotations that are related to DLL calling are located in the package com.borland.silktest.jtf.dll.

A declaration for a DLL starts with an interface that has a Dll attribute. The syntax of the declaration is the following:
@Dll("dllname.dll")
public interface DllInterfaceName {
  FunctionDeclaration
  [FunctionDeclaration]…
}
dllname
The name of or the full path to the DLL file that contains the functions you want to call from your Java scripts. Environment variables in the DLL path are automatically resolved. You do not have to use double backslashes (\\) in the path, single backslashes (\) are sufficient.
DllInterfaceName
The identifier that is used to interact with the DLL in a script.
FunctionDeclaration
A function declaration of a DLL function you want to call.