GUI ScreenIO for Windows |
Copy the file GS.COB from the GUI ScreenIO installation directory to wherever you keep your COBOL program source code.
Launch your COBOL program editor.
Open GS.COB so that you can edit it.
Examine the source code (it's pretty simple). The comments at the beginning of the program explain what you need to do. Remove the comments from the Micro Focus section of code as shown below.
You need to decomment the following lines in the DATA DIVISION to specify the linkage convention used to call GUI ScreenIO.
SPECIAL-NAMES.
|
0001-PASSTHROUGH-CALL.
|
Be sure that the source code for other compilers is commented out.
Save GS.COB.
Compile GS.COB using the directive LITLINK to ensure that it'll be called statically by GS.
Note: You can use GS as an INT, GNT, OBJ, or DLL, though you must use OBJ or DLL forms if your application will call GSWINAPI to access the Windows APIs that GUI ScreenIO provides.
© 2000-2019 Norcom, all rights reserved |