The information in this article applies to:
SYMPTOMSCompiling an application causes the compiler to generate the following messages: Other symptoms include an inability to load the Programmer's WorkBench (PWB) or the Microsoft Editor or the computer hangs and stops responding when either of either of these applications loads. CAUSE
There are several consistent causes for these errors:
RESOLUTION
Verify the following:
MORE INFORMATION
The C1041 error should be F1041, the text of the error message is
incorrect.
Causes Related to the TMP Environment VariableThe FORTRAN compiler and the utilities create temporary files by prepending the contents of the TMP environment variable to a generated file name. Any problems with the contents of the TMP environment variable can produce the symptoms listed above.The TMP environment variable may specify a directory that does not exist. Because many disk backup programs do not save the location of empty directories, this cause is a prime candidate if a disk restore was done recently. If the TMP environment variable specifies a directory on a virtual RAM drive, you must create the directory each time the computer reboots. If the TMP environment variable contains spaces, if the TMP environment variable specifies more than one directory, or if a semicolon (;) terminates the directory specification, these problems can occur. Causes Related to the FILES= SpecificationThe FILES= parameter in the CONFIG.SYS file specifies the number of available file handles. If the number of available file handles is too low then the compiler or the utilities will be unable to open required temporary files. If the FILES= statement is missing from CONFIG.SYS, insufficient file handles may be available.In versions of MS-DOS prior to version 3.3, the maximum number of file handles is 20. If the FILES= statement specifies a number greater than 20, MS-DOS versions prior to version 3.3 create eight file handles, the default value. Because MS-DOS uses five file handles for overhead, only three file handles are available for application use in this condition. If spaces surround the equals (=) sign in the FILES= statement, MS-DOS may ignore the statement and create the default number of file handles. Causes Related to the Hard DiskIf the TMP environment variable specifies a location that has insufficient disk space, or if the file allocation table (FAT) is corrupted, the compiler or the utilities may not be able to create any temporary files.If the TMP environment variable specifies a location on a virtual RAM drive, not enough space may be available to create temporary files. This can easily occur if the intermediate files for a software build are stored on the RAM drive. As the process creates object modules and executable files, less room remains on the drive to store temporary files. Additional query words: 1.00 4.00 4.01 4.10 5.00 5.10
Keywords : |
Last Reviewed: November 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |