CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2004
    Posts
    81

    Disappearing linker error

    Every other time I build a project in VC7, i get this linker error:

    Importing fatal error LNK1000: Internal error during Pass2


    The odd thing is if i try again it just goes away, then comes back the next time. Any ideas what's going on?

  2. #2
    Join Date
    Oct 2003
    Location
    Romania
    Posts
    127

    Re: Disappearing linker error

    From MSDN
    Linker Tools Error LNK1000
    unknown error; consult documentation for technical support options
    Note the circumstances of the error, try to isolate the problem and create a reproducible test case, then consult the technical-support help file or the technical-support section in one of your manuals.

  3. #3
    Join Date
    Aug 2004
    Posts
    81

    Re: Disappearing linker error

    Well after systematically removing every file from the program, the issue had to do with my resource files. Rather than right clicking and adding them to the resource file folder in the solution/file view in VC7, i #included them in the .rc2 file. That made the error go away.


    Thank god that the error gave me so much info or i would have never found it! ¬_¬

  4. #4
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: Disappearing linker error

    [ Moved thread ]

  5. #5
    Join Date
    Oct 2002
    Posts
    1,134

    Re: Disappearing linker error

    Yes, well, Microsoft is well-known for the clarity and information content of its error messages and documentation. I know I bless them about every other day in that aspect
    Regards
    Robert Thompson

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured