FIX: "Fatal Error LNK1105" error message when you incrementally link large projects (329593)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

This article was previously published under Q329593

SYMPTOMS

When you use the incremental linking feature of Link.exe, the link may quit unexpectedly and you may receive an error message similar to the following:
LINK : fatal error LNK1105: cannot close file 'Debug\MyApp.exe'
The same project may have previously built successfully in Microsoft Visual C++ 6.0.

CAUSE

This problem occurs because of a change in the quantity of memory that the linker reserves for incremental linking.

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Microsoft Visual Studio .NET. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

837234 List of bugs that are fixed in Visual Studio .NET 2002 Service Pack 1

Hotfix information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date          Time    Version      Size      File name
   ------------------------------------------------------
   15-Oct-2002   02:59   7.0.9620.0   643,072   Link.exe         
				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Visual Studio .NET 2002 Service Pack 1.

Modification Type:MinorLast Reviewed:9/27/2005
Keywords:kbHotfixServer kbQFE kbvs2002sp1sweep kbvs2002sp1fix kbbug kberrmsg kbfix KB329593