🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2834

Workframe and MSC 6.00A

#2834
From: Ian Ameline
Date: Mon, 14 Dec 1992 18:53
34 lines
1918 bytes
In article <1gb6grINNcjk@morrow.stanford.edu>,
GG.MPD@forsythe.stanford.edu (Michael Durket) writes:
>
>I'm getting a C1024 error running MSC 6.00A under the Workframe
>(the compiler was installed so that it runs under OS/2 not
>DOS).
>
>The error is due to the fact that I'm compiling with the /Zi
>option and is caused by the compiler running out of files.
>(I located an article in the Microsoft Knowledge Base that
>indicates that the /Zi option requires a file handle, and
>that this may cause nested includes to run out of files thus
>causing the C1024 error).
>
>According to the article, the fix is to edit CONFIG.SYS to
>increase the FILES= parameter. This is all well and good,
>but that applies to DOS programs only, correct? For OS/2
>does this have any meaning? If so, how do I adjust it for
>running MSC in OS/2 protected mode under the Workframe?
>
>Any assistance is appreciated.
>

   The WF makes sure that there are *lots* of files available for its
child processes. The problem is that since the WF uses file handles 1
through about 9 or 10, the child process gets file handles 10 through
whatever (much more than 20 left). The problem is that MSC has an array
of objects that it indexes with the file handle -- this array is from 1
20. So no matter how many file handles are left available, MSC can only
use those numbered less than 20 -- and there's fewer of those left than
it wants to use. (No comments on this design)

Regards,
Ian Ameline.
Technical Details
Message-ID: <19921214.105417.596@almaden.ibm.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
References: <1gb6grINNcjk@morrow.stanford.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com
From: ameline@vnet.ibm.com (Ian Ameline)
Message-ID: <19921214.105417.596@almaden.ibm.com>
Date: Mon, 14 Dec 92 13:53:31 EST
Subject: Workframe and MSC 6.00A
Newsgroups: comp.os.os2.programmer
References: <1gb6grINNcjk@morrow.stanford.edu>
Organization: C-Set/2 Development, IBM Canada Lab.
Disclaimer: This posting represents the poster's views, not those of IBM
Lines: 35