Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

little link error

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I compile and Link my code and i get the error

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

I can only find the files mfc42d.lib and mfc42.lib on my windows2000 machine..

what can I do ?? I think it's some project setting, but I can't find it !!
 
IUnknown,
When u use VC++, the default LIB directory is :< ....\VC98\MFC\LIB >. You can change it by :

Select &quot;Tools->Options&quot; Now click on the tab labelled &quot;Directories&quot;. In the drop down combo box titled &quot;Show Directories for&quot; select &quot;Include Directories&quot;. Now you may edit the default path to your desired value. But it seems that your problem is not the incorrect environment setting but actually you have a missing library file. Look All you hard drives for the file &quot;mfc42u.lib&quot;. If you couldn't find it then you can not get rid of the error without getting this file. If you do find the file then make sure you move it to the correct path as mentioned in the &quot;Directories&quot; setting.
cheers,
Kashif
 
kashif,

i looked again.. there seems to be no mfc42u.lib on all of my harddrives... and I'm shure didn't delete it ;)

All my self-coded MFC works however and most of the samples of msdn work fine too... except this one:

URL=/library/devprods/vs6/visualc/vcsample/_sample_mfc_catalog2.htm

take a look, if you want... and if some-one finds mfc42u.lib, my email would be inspire.me@pandora.be

thanks a ton !!
 
does some one plz have the mfc42u.lib plz plz plz help me ???? thanx alot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top