Microsoft KB Archive/66454

How to Create ADIS.EXE, ADIS.DLL in COBOL 4.0

PSS ID Number: Q66454 Article last modified on 04-20-1993

4.00 | 4.00 MS-DOS | OS/2

Summary: This article discusses how to create the ADIS.EXE and ADIS.DLL files for Microsoft COBOL Professional Development System (PDS) version 4.0 for MS-DOS and MS OS/2.

More Information: ADIS (Accept/DISplay handler) is required if a COBOL program uses ACCEPT and DISPLAY statements to control screen handling. The ADIS files ADIS.OBJ, ADISINIT.OBJ, ADISKEY.OBJ, and ADISDYNA.OBJ can be statically linked to an executable module, or they can be dynamically linked executable files that are used at run-time. Note: The file ADISDYNA.OBJ, new for version 4.0, is needed if you use the FOREGROUND-COLOR/BACKGROUND-COLOR IS variable or the CONTROL IS statement in Accept/Display statements. The following LINK line will create ADIS.EXE for use with the shared run-time system on DOS: LINK ADIS+ADISINIT+ADISKEY+ADISDYNA,,,COBLIB+COBAPI; To create ADIS.DLL for use with the shared run-time system on OS/2, execute the following LINK command: LINK ADIS+ADISINIT+ADISKEY+ADISDYNA,,,COBLIB+OS2,ADIS.DEF;

Additional reference words: 4.00 Copyright Microsoft Corporation 1993.