Re: error LNK1104: cannot open file 'mfc42.lib'
- From: "Bruno van Dooren" <bruno_nos_pam_van_dooren@xxxxxxxxxxx>
- Date: Fri, 17 Mar 2006 21:58:56 +0100
I just finished converting my Visual C++ 6.0 project to Visual Studio 2005.
Everything compiles fine, but when it tries to link I get the error: "LINK
:
fatal error LNK1104: cannot open file 'mfc42.lib'".
I have 2 questions on this:
1. Why am I getting this error since it worked fine in VC6.0?
2. Am I correct in assuming that the VS2005 mfc dll filename is
mfc80.dll?
If so why is it still trying to link to mfc42.dll?
VC6 shipped with MFC42.
VS2005 ships with MFC8. If your project tries to link against 42, you will
get that error.
You have to link against the new version.
My guess is that mfc42.lib is listed explicitly in your project settings.
--
Kind regards,
Bruno van Dooren
bruno_nos_pam_van_dooren@xxxxxxxxxxx
Remove only "_nos_pam"
.
- Prev by Date: Re: Dialog Editor Crash
- Next by Date: Re: Dialog Editor Crash
- Previous by thread: Re: Dialog Editor Crash
- Next by thread: Exposing enumerations
- Index(es):
Relevant Pages
|