DLL_CONVENTION

This variable allows you to specify the calling convention used to call DLLs. When this variable is set to 0, the cdecl (standard C) interface is used. When this variable is set to 1, the stdcall (Pascal/WINAPI) interface is used. The default for this variable is "0".

Note that there are a few ways to override the DLL_CONVENTION setting:

In all of these cases, the runtime uses the specified calling convention and ignores the value of the DLL_CONVENTION configuration variable. See Working with Windows Technologies in A Guide to Interoperating with ACUCOBOL-GT for more details about calling DLLs.