?
Solved

LINK : fatal error LNK1104: cannot open file mfc42ud.lib  ?????

Posted on 2002-07-18
6
Medium Priority
?
7,249 Views
Last Modified: 2013-11-20
I downloaded the "chatsrvr" mfc aplication from the MSDN disks. When I tried to build the executeable I got the error:

LINK : fatal error LNK1104: cannot open file "mfc42ud.lib"


I have visual studio 6. Ive run service pack 5 and I still get this error. Help!! Why dont I have this library and where can I get it.

thanks


0
Comment
Question by:rangers99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 4

Expert Comment

by:mblat
ID: 7163983
u in library name probably indicates that application trying to compile as UNICODE.  In default installation of VC++ unicode librararies not installed.  So you need to rerun setup and select unicode libraries to be installed.  Or you can try to compile this app as non-unocode.  

Take a look at project configurations - you see what I mean.


Hope it helps...
0
 

Expert Comment

by:LucaMoreschi
ID: 7165078
You have to install the Unicode Debug library.
mfc42ud.lib (mfc = Microsoft Foudation Class, 42 = version 4.2, U = unicode, D = debug)
Bye

0
 
LVL 1

Accepted Solution

by:
ackava earned 400 total points
ID: 7166546
Forget everything else, just open the project, click on menu Build, click on Set Active Configuration, and select Win32 Debug (non unicode version) , it will work.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:rangers99
ID: 7169341
Ackava, I want to accept you answer but I dont know how to. I am only being offered an acceptance to  LucaMoreschi's answer.
0
 

Author Comment

by:rangers99
ID: 7176122
cheers, works like a dream
0
 
LVL 1

Expert Comment

by:ackava
ID: 7176453
thanks rangers99
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question