File "mfc42.lib" cannot be opened
Messages   Related Types
This message was discovered on microsoft.public.dotnet.languages.vc.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.
Post a new message to this list...

jingkun Hu via .NET 247 (VIP)
(Type your message here)

I'm upgrading a VC++ 6 project to VC.NET 2003. The compiling is OK but not linking. The error message is "mfc42.lib cannot be opened". I looked through every setting of compiling and linking and didn't find mfc42.lib in there. I understand that VC.NET 2003 uses mfc71.lib. But how does the environment requires mfc42.lib?

Please help!
--------------------------------
From: jingkun Hu

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>BQnC+ZNBJUWXbsBdY2PxBw==</Id>
Reply to this message...
 
    
Ronald Laeremans [MSFT] (VIP)
Look for #pragma comment statements in the source. Also look fr anything
tyou aren't rebuilding from source that might reference the old versions of
the MFC libraries.

E.g. a search of a text dump of all files (including the binary ones) should
be able to turn up references to this library.

Ronald Laeremans
Visual C++ team

"jingkun Hu via .NET 247" <Click here to reveal e-mail address> wrote in message
news:Click here to reveal e-mail address...
(Type your message here)

I'm upgrading a VC++ 6 project to VC.NET 2003. The compiling is OK but not
linking. The error message is "mfc42.lib cannot be opened". I looked through
every setting of compiling and linking and didn't find mfc42.lib in there. I
understand that VC.NET 2003 uses mfc71.lib. But how does the environment
requires mfc42.lib?

Please help!
--------------------------------
From: jingkun Hu

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>BQnC+ZNBJUWXbsBdY2PxBw==</Id>

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com