fatal error LNK1127

Cara's Avatar, Join Date: Mar 2007
Newbie Member
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
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You probably need to re-install the VC as from the error it looks that your user32.lib file is corrupt.
Cara's Avatar, Join Date: Mar 2007
Newbie Member
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?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by Cara
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?
Re-installing should have done that.
Cara's Avatar, Join Date: Mar 2007
Newbie Member
I will reinstall again , maybe it will work.

Thanks