Related Configuration Variables

You can use the CODE_MAPPING configuration variable (see the appendix "Configuration Variables" in ACUCOBOL-GT Appendices) to map CALLs to DLLs on the display host. For example, the following configuration file entry:

CODE_MAPPING  1
MYLIB.DLL @[DISPLAY]:MYLIB.DLL

causes a call to MYLIB.DLL to execute on the client. In addition to mapping the DLL name, you should map the name of each function contained in the DLL in the configuration file, as shown below for FuncA and FuncB in MYLIB:

FuncA @[DISPLAY]:FuncA
FuncB @[DISPLAY]:FuncB

It is important that you use the DLL_CONVENTION configuration variable to specify the appropriate calling convention. Refer to the appendix "Configuration Variables" in ACUCOBOL-GT Appendices for more details about DLL_CONVENTION.