MFC42D.LIB Linker Error

M

marathoner

I am in the process of converting a Visual C++ 6.0 project to Visual Studio
2005. The conversion is almost complete, but in the linking phase, I get
the error:

LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'

It seems to be looking for a file from Visual C++ 6.0. I have checked the
project settings and can't find any reference to "mfc42d.lib".

Marathoner
 
M

marathoner

I wasn't able to find the setting to exclude the old MFC libraries from
linking. Can you tell me how to find this option?

Marathoner
 
M

marathoner

Thanks, that solved the problem.

Marathoner


Joe McCollough said:
Right click on the project in solution explorer, and select Properties.
In
the Properties dialog, select Configuration Properties - Linker - Input.
Add
the MFC 8 library to "Additional Dependencies" and add the MFC 4.2 library
to
Ignore Specific Library.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top