home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: francis@vnet.ibm.com (Tim Francis)
- Message-ID: <19921214.104354.730@almaden.ibm.com>
- Date: Mon, 14 Dec 92 13:43:17 EST
- Subject: Workframe and MSC 6.00A
- Newsgroups: comp.os.os2.programmer
- References: <1gb6grINNcjk@morrow.stanford.edu>
- Reply-To: francis@vnet.ibm.com
- Organization: IBM Canada Lab, WorkFrame/2 development
- Disclaimer: This posting represents the poster's views, not those of IBM
- Lines: 35
-
- 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.
-
- WorkFrame uses several file handles itself, to pipe the output of the
- compiler into the listbox, etc. To compensate, the maximum number
- of file handles available is dynamically increased, above the FILES=
- statement in your config.sys (which does work under OS/2). Unfortunately,
- and as best as we can determine, MSC 6a is hardcoded to only use file
- handles less than 20. Even though the final open succeeds, the compiler
- will report a failure, and abort.
-
- To compensate, I've written a small utility that will move all file handles
- in use to above 20; the compiler will now run to completion. The utility
- is located on the WorkFrame/2 interface documentation & sample disk,
- which can be obtained from any IBM marketing office. For further
- details on how to obtain this disk, contact me off-line. -tim
-