?
Solved

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

Posted on 2002-07-18
6
Medium Priority
?
7,281 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
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

 

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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

649 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