3 1 2 Calling DLL Functions

LANSA Open Guide

3.1.2 Calling DLL Functions

DLL functions can be called using one of two techniques:

1.  Call by function name.

2.  Call by ordinal number.

Calling a function by name is recommended over calling a function by ordinal number, in case the ordinal number of the DLLs change. When a function is called by name, its position in the DLL is not important. If you call a function by ordinal number, you are identifying the function strictly by its location in the DLL.

When calling the functions, it is of value to note that the LANSA Open functions for all Windows versions are the same, even though the DLL files are different.

For more details about making DLLs known to your application, refer to the Guidelines for Using LANSA Open.