To view or change DLL procedure properties, click the DLL procedure,
click (Properties)
on the ATEasy
toolbar.
Most DLL procedure properties are the same as the properties for other types of procedures. These common properties are Name, Returns, Public, and Description. For descriptions of the common DLL procedure properties, see Procedure Properties.
The following properties are available to DLL procedures.
The name of the procedure declared in the ATEasy module. This is usually the same as the name of the function exported from the DLL. Exported DLL procedure names are case sensitive and must be declared exactly as they are defined in the DLL, unless you use an alias. For information on a DLL procedure's name, see the documentation for that DLL.
When using an alias, in the Alias field enter the actual exported procedure name or ordinal number that identifies the procedure in the DLL. In the Name field, enter the function name that you are declaring within ATEasy. For more information on using aliases, see Using Aliases and Ordinals When Declaring DLL Procedures.
Using the list of return data types, select a type to indicate procedure's return data type.
From the drop-down list, select the calling convention type used by the DLL.
● Stdcall (standard Windows export) is used to call most Win32 API functions.
● CDecl is the default calling convention for C and C++ programs. CDecl creates larger executables than Stdcall, because it requires each function call to include stack cleanup code for the calling stack.
See the DLL vendor's documentation or C header (.h) file to determine whether the DLL is Stdcall or CDecl.
Note: The calling convention Type is ignored when calling 64-bit DLLs functions. 64-bit functions are always called the same similar to CDecl,.
Check this if this procedure can be accessed by other module. This field only exists in the systems and drivers.
Check this if this procedure is part of an ATEasy DLL project and need to be exported.
Description of the DLL procedure.