lib searching

Hi,
   i am searching the lib "mfc42.lib" to compile my program. I have search the microsoft but i could not find it and download it. The VC6++ does not contain it. Where can i Find it?
ttsenisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mnashadkaCommented:
It should be in the MFC\Lib directory.  For instance, if you installed Visual C++ in C:\Program Files\Microsoft Visual Studio\VC98\ directory, it would live at C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib.  I'm not sure, but it may not be there if you have the standard edition (since that doesn't allow static linking); I could be wrong about that, though.
0
tycordinalCommented:
it is at

C:\Program Files\Microsoft Visual Studio\VC98\MFC\Lib

if you installed it at C:


..btw, are you using some MFC classes?
i think you should create your project again using "MFC AppWizard (exe)", and copy all your original files into the new project.
0
mnashadkaCommented:
By the way, there are other macros that get used by MFC that get set when you use MFC.  You're probably better off going to Project->Settings->General and changing your "Microsoft Foundation Classes" setting to "Use MFC in a Shared DLL" or "Use MFC in a Static Library".  What tycordinal said about re-generating the project might work if you're using the gui classes, but if you're using other classes (CString, CFtpConnection, etc.) and you want a background or console application, don't do that.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

tycordinalCommented:
yes that's what i mean :)
0
tycordinalCommented:
yes that's what i mean :)
0
ttsenisAuthor Commented:
The whole story goes like this. This classes that i am trying to compile are not mine but it is correct. The "mfc42u.lib" it is not containt into the VC6 ++ that i have installed. May be i need a patch? The recently SDK platform from the microsoft contains the above lib but the compiler produces the error "module machine type "IA64" conflicts with target machine type "IX86"(?)". I thougth that i may have wrong version or i need wXP or w2000 (i work in w98). I went into the microsoft to download the lib with no result. I did made a change into the settings from the "use MFC in a Shared DLL" to "Use MFC in a Static Library" resulting in error ("it needs the uafxcwd.lib").
If anyone has that libs just send it to the ttsenis@lycos.com.

   Thanks
0
FrancozCommented:
MFC42.dll will reside in \winnt\system32 folder.

Better you check the path you set in the environment variables. If it is not there, give the above path.

Hope you know it.
0
tinchosCommented:

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by: mnashadka

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C++

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.