Microsoft KB Archive/51592

COBOL 3.0, “Cannot Load ADISINIT.EXE” After “Stack Overflow”

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

3.00 3.00a MS-DOS

Summary: When a COBOL 3.0 or 3.0a program that uses ADIS runs out of stack space, the error message “Cannot load ADISINIT.EXE” may follow the correct error message “Stack overflow” (run-time system error 168). The error message “Cannot load ADISINIT.EXE” is incorrect behavior and should be ignored. The program gets confused about its termination sequence when a “Stack overflow” error occurs when the ADIS module was linked to the program. Two customers have reported this occurrence. One customer linked ADIS statically to a main program that made many nested CALLs to subprograms. Upon returning to one of the subprograms, the “Stack overflow” error displayed along with the “Cannot load ADISINIT.EXE” error. Microsoft has not been able to duplicate this problem. If you find a short example that duplicates this problem, please call Microsoft Product Support Services at (206) 454-2030.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.