BUG: You receive a "LINK : fatal error LNK1000" error message and experience slow performance-linking problems when you upgrade projects to Visual C++ .NET 2002 or 2003 (888327)



The information in this article applies to:

  • Microsoft Visual C++ .NET (2003)
  • Microsoft Visual C++ .NET (2002)

SYMPTOMS

When you upgrade your Microsoft Visual C++ 6.0 projects to Microsoft Visual C++ .NET 2002 or Microsoft Visual C++ .NET 2003, you may experience slow performance-linking problems, and you may receive an error message that is similar to the following:
LINK : fatal error LNK1000: Internal error during Pass2

Version 7.00.9620

ExceptionCode = C0000005
ExceptionFlags = 00000000
ExceptionAddress = 00449D66 (00400000) "C:\Program Files\Microsoft Visual Studio .NET\VC7\BIN\link.exe"
NumberParameters = 00000002
ExceptionInformation[ 0] = 00000000
ExceptionInformation[ 1] = 00C511C1

CONTEXT:
Eax = 00000429 Esp = 0012F2BC
Ebx = 3FFF0328 Ebp = 00000010
Ecx = 00C50D98 Esi = 00C688E0
Edx = 00000000 Edi = 00000000
Eip = 00449D66 EFlags = 00010203
SegCs = 0000001B SegDs = 00000023
SegSs = 00000023 SegEs = 00000023
SegFs = 00000038 SegGs = 00000000
Dr0 = 0012F2BC Dr3 = 3FFF0328
Dr1 = 00000010 Dr6 = 00C50D98
Dr2 = 00000000 Dr7 = 00000000

CAUSE

This problem occurs because the linker does not correctly handle all the unique exports.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

WORKAROUND

To work around this problem, move all the common header files that you can to the Stdafx.h include file so that they are included in the precompiled header file. You will not receive an error message and your build time will be greatly reduced.

Modification Type:MinorLast Reviewed:1/12/2006
Keywords:kbpending kbBug kbtshoot kbPerformance kbProgramming KB888327 kbAudDeveloper