Microsoft KB Archive/888327

= BUG: You receive a &quot;LINK : fatal error LNK1000&quot; error message and experience slow performance-linking problems when you upgrade projects to Visual C++ .NET 2002 or 2003 =

Article ID: 888327

Article Last Modified on 1/12/2006

-

APPLIES TO


 * Microsoft Visual C++ .NET 2003 Standard Edition
 * Microsoft Visual C++ .NET 2002 Standard Edition

-





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) &quot;C:\Program Files\Microsoft Visual Studio .NET\VC7\BIN\link.exe&quot;

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 &quot;Applies to&quot; 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.

Keywords: kbtshoot kbbug kbperformance kbprogramming kbpending KB888327

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.