PRB: SYS2070 if Linking Program Calling CRTLIB Without /NOI

ID Number: Q47779

5.10 6.00 6.00a 6.00ax | 5.10 6.00 6.00a

MS-DOS | OS/2

Summary:

SYMPTOMS

Programs that are linked with the OS/2 C run-time library DLL

(CRTDLL in C 5.1 and CEXAMPLE in C 6.0), without the /NOI switch

fail with one of the following messages:

SYS2070: The system could not demand load the application's

segment. CRTLIB __STDOUT is in error.

SYS2070: The system could not demand load the application's

segment. CEXAMPLE __AFCHKSTK is in error.

RESOLUTION

To avoid the problem, use the /NOI switch when linking. The proper

use of /NOI is described in Section 5.2 of the MTDYNA.DOC file

supplied with Microsoft C version 5.1. This is also described in

Section 16.3.3 of "Microsoft C Advanced Programming Techniques"

version 6.0 manual.

Additional reference words: 5.10 6.00 6.00a 6.00ax