473,406 Members | 2,954 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

LNK1104: cannot open file 'mfc42.lib'

Hi,

I converted VC 6.0 project to VC 7.0. However, I can not build it due to
error - LNK1104: cannot open file 'mfc42.lib'. I guess there is a .lib used
by this project was compiled by VC 6.0 but I can not get its source code.
How can I do? I want to add mfc42.lib to project's library list, but I can't
find where this option is.

Thanks & Regards,
Weiming
Nov 17 '05 #1
1 5622
>I converted VC 6.0 project to VC 7.0. However, I can not build it due to
error - LNK1104: cannot open file 'mfc42.lib'. I guess there is a .lib used
by this project was compiled by VC 6.0 but I can not get its source code.
How can I do?


If you can't rebuild the library, I think you'll have to stick with
VC6.

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike | last post by:
The error during build in VC++: LINK : fatal error LNK1104: cannot open file "/blah/blah/blah.lib" the issue: I've inherited this cource code from another company and the company had their dir....
3
by: Lance | last post by:
I'm trying to migrate a VC++ 6 project to VS .NET 2003, and have hit the LNK1104 - libcimt.lib problem where there's some code still referencing the old STL library. I've verified all our code...
1
by: jingkun Hu via .NET 247 | last post by:
(Type your message here) I'm upgrading a VC++ 6 project to VC.NET 2003. The compiling isOK but not linking. The error message is "mfc42.lib cannot beopened". I looked through every setting of...
1
by: Amrit Kohli | last post by:
Hello. I am trying to run the VS C++ compiler from the command line. I enter the following: cl -GX prog1.cpp It compiles the file fine, but then when it goes to link the object file, I...
1
by: Danno040 | last post by:
I'm trying to compile the source code for the demos that comes with NVIDIA's SDK using Visual Studio 2005, however whenever I try to build them I get a large number of unresolved external errors or...
1
by: Durga | last post by:
HI, I am converting VC++ 6.0 to .NET 2003. But I am getting linker error. Error: MyApplication fatal error LNK1104: cannot open file 'libci.lib'. MyApplication has OpenSSL, MFC and win 32...
2
by: Hunter | last post by:
Hi all, I'm a C newbie in a desperate need of help. My background isn't programming but engineering, so my programming skills are somewhat limited (I am able to write simple single-threaded...
1
by: bhushan11 | last post by:
hello sir i am searching in your site but i dont get how to place question about visual c++. so i am post this vc++ question in .net , sorre about that i am working on visual c++ lang. but i...
5
by: ramrooney | last post by:
hi, i am trying to port my project from vc 6.0 to visual studio 2005 i getting the error fatal error LNK1104: cannot open file 'mfc42d.lib' can anyone tell me how to rectify this error..???
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.