BUG: Warning DX4020 with Visual C++ 1.5 When Linking

ID: Q111016

1.50 WINDOWS kbtool kbbuglist

The information in this article applies to:

SYMPTOMS

Building a project with Visual C++ results in the following warning:

   DOSXNT : warning DX4020: out of file handles.
      Increase value of FILES= statement in CONFIG.SYS

CAUSE

This warning is generated by the MS-DOS-extender used by the build tools in Visual C++. When these build tools attempt to open a file but MS-DOS has no more file handles to allocate, the error is generated.

RESOLUTION

There are three possible resolutions to this warning:

STATUS

Microsoft has confirmed this to be a problem in Visual C++ for Windows version 1.5. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

While processing files, LINK tries to keep open as many as possible of the files it's linking. Depending on the size of your project, this may end up using more file handles than you have available. Under Visual C++ 1.0 for Windows, no warning is issued so you never realize this is happening.

Additional reference words: 1.50 5.60 6.11 KBCategory: kbtool kbbuglist KBSubcategory: TlsMisc Keywords : kb16bitonly

Last Reviewed: July 23, 1997