From: Manjree Garg on
Hi,

I converted my VC++2005 MFC application to VC++2008 but when I build it;
it is giving the following linker error:

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

As mfc80.lib is not present any more. How can I replace mfc80.lib with
mfc90.lib???

Cheers.

Manj.




From: AliR (VC++ MVP) on
You have to find out why it's still asking for mfc80.lib? Are you linking
with any dlls?

AliR.


"Manjree Garg" <garg(a)newsgroup.nospam> wrote in message
news:7BD6B985-1AE1-4ADF-8308-BF89A80D71BA(a)microsoft.com...
> Hi,
>
> I converted my VC++2005 MFC application to VC++2008 but when I build it;
> it is giving the following linker error:
>
> LINK : fatal error LNK1104: cannot open file 'mfc80.lib'
>
> As mfc80.lib is not present any more. How can I replace mfc80.lib with
> mfc90.lib???
>
> Cheers.
>
> Manj.
>
>
>
>


From: Joseph M. Newcomer on
There are two reasons for this:

(a) you have explicitly put mfc80.lib in the linker specifications
(b) you have some existing library file compiled with an earlier version of the compiler
being linked in.

Look for both of these situations.
joe

On Fri, 22 Feb 2008 08:11:02 -0800, Manjree Garg <garg(a)newsgroup.nospam> wrote:

>Hi,
>
> I converted my VC++2005 MFC application to VC++2008 but when I build it;
>it is giving the following linker error:
>
>LINK : fatal error LNK1104: cannot open file 'mfc80.lib'
>
>As mfc80.lib is not present any more. How can I replace mfc80.lib with
>mfc90.lib???
>
>Cheers.
>
>Manj.
>
>
>
Joseph M. Newcomer [MVP]
email: newcomer(a)flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm