Discussion:
Cannot open file 'mfc42d.lib'
(too old to reply)
nishu90
2012-01-22 10:18:22 UTC
Permalink
Hello

I am trying to convert a program based on Visual C++ to a program on Visua
Studio 2010 on a Windows 7 64-bit system

When I compile the program, I get an error stating : 'fatal error LNK1104
cannot open mfc42d.lib

Can someone please help me with this?
Geoff
2012-01-22 20:37:05 UTC
Permalink
On Sun, 22 Jan 2012 04:18:22 -0600, nishu90
Hello,
I am trying to convert a program based on Visual C++ to a program on Visual
Studio 2010 on a Windows 7 64-bit system.
cannot open mfc42d.lib'
Can someone please help me with this?
Is it the full VS2010 or the Express version? If it's Express, MFC is
not supported, you have to buy the full version to get MFC.

Otherwise, it sounds like your project explicitly links to mfc42d.lib
in the linker input settings. Delete this requirement from your
project properties and rebuild.

If your project _must_ explicitly link the MFC, it's mfc100d.lib in
VS2010.

Loading...