home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / os2 / programm / 7000 < prev    next >
Encoding:
Internet Message Format  |  1992-12-14  |  2.1 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: francis@vnet.ibm.com (Tim Francis)
  3. Message-ID: <19921214.104354.730@almaden.ibm.com>
  4. Date: Mon, 14 Dec 92 13:43:17 EST
  5. Subject: Workframe and MSC 6.00A
  6. Newsgroups: comp.os.os2.programmer
  7. References: <1gb6grINNcjk@morrow.stanford.edu>
  8. Reply-To: francis@vnet.ibm.com
  9. Organization: IBM Canada Lab, WorkFrame/2 development
  10. Disclaimer: This posting represents the poster's views, not those of IBM
  11. Lines: 35
  12.  
  13. In article <1gb6grINNcjk@morrow.stanford.edu>,
  14. GG.MPD@forsythe.stanford.edu (Michael Durket) writes:
  15. >
  16. >I'm getting a C1024 error running MSC 6.00A under the Workframe
  17. >(the compiler was installed so that it runs under OS/2 not
  18. >DOS).
  19. >
  20. >The error is due to the fact that I'm compiling with the /Zi
  21. >option and is caused by the compiler running out of files.
  22. >(I located an article in the Microsoft Knowledge Base that
  23. >indicates that the /Zi option requires a file handle, and
  24. >that this may cause nested includes to run out of files thus
  25. >causing the C1024 error).
  26. >
  27. >According to the article, the fix is to edit CONFIG.SYS to
  28. >increase the FILES= parameter. This is all well and good,
  29. >but that applies to DOS programs only, correct? For OS/2
  30. >does this have any meaning? If so, how do I adjust it for
  31. >running MSC in OS/2 protected mode under the Workframe?
  32. >
  33. >Any assistance is appreciated.
  34.  
  35. WorkFrame uses several file handles itself, to pipe the output of the
  36. compiler into the listbox, etc.  To compensate, the maximum number
  37. of file handles available is dynamically increased, above the FILES=
  38. statement in your config.sys (which does work under OS/2).  Unfortunately,
  39. and as best as we can determine, MSC 6a is hardcoded to only use file
  40. handles less than 20.  Even though the final open succeeds, the compiler
  41. will report a failure, and abort.
  42.  
  43. To compensate, I've written a small utility that will move all file handles
  44. in use to above 20; the compiler will now run to completion.  The utility
  45. is located on the WorkFrame/2 interface documentation & sample disk,
  46. which can be obtained from any IBM marketing office.  For further
  47. details on how to obtain this disk, contact me off-line.   -tim
  48.