fatal error LNK1127

Discussion in 'Win32' started by Cara, Mar 25, 2007.

  1. Cara

    Cara New Member

    Joined:
    Mar 25, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi

    Can anyone please help me in this.I am new in MFC programming and I am confrunting with a problem.
    I am using VC++ 6 and when I want to build the project it gives me this link error:
    F:\Program Files\VC98\LIB\user32.lib : fatal error LNK1127: library is corrupt

    I have searched in the msdn documentation and everything it is said in there is that I have to rebuild the library.
    This thing is really driving me crazy... please help me

    Thanks
    Razvan
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    You probably need to re-install the VC as from the error it looks that your user32.lib file is corrupt.
     
  3. Cara

    Cara New Member

    Joined:
    Mar 25, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I've already made this and the same error occurs and now gives the same error message but with mfc42d.lib not with user32.lib.And a strange thing is that win32 projects are working properly ,I can execute them.Should I replace the MFC library?
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Re-installing should have done that.
     
  5. Cara

    Cara New Member

    Joined:
    Mar 25, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    I will reinstall again , maybe it will work.

    Thanks
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice