gtpa2m2dApplication Programming

DLL Compiler Option

DLL applications written in C are compiled with the DLL compiler option. For this case, function pointers are pointers to corresponding function descriptors. Therefore, a function pointer that is passed from code compiled without the DLL option to a function in code compiled with the DLL option will not work because the DLL code always expects a function descriptor pointer. Code compiled with the DLL option can still pass a function pointer to code compiled without the DLL option. The special code at the beginning of the function descriptor handles these conditions. See the user's guide for the IBM C/C++ compiler on the System/390 platform used by your installation for more information about the DLL compiler option and function descriptors.

There is no DLL compiler option for source code written in C++. C++ source code is automatically compiled as a DLL application.