When I complied my VC++6 project in the VS.NET (VC++.Net) I could compile
the project but when linking I got this error:
LINK : fatal error LNK1104: cannot open file 'mfc42d.lib'
I have spending lot of time, I couldn't really find exactly what is the
problem.
thanks in advance for any help
Prabu
Prabu,
I'd guess that you're linking in a static library that is built with
VC6. You should re-build not only your main application, but also any
static libraries.
Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.
Prabu
"David Lowndes" <dav...@mvps.org> wrote in message
news:h5c2juge8am7u5s0k...@4ax.com...
I presumed from the error you got that something in your project was
still referencing the mfc42d library. If you'd built everything with
VC7 this shouldn't be the case, therefore I assumed you may have a
static (non-DLL) library that you use that you haven't re-built with
VC7. Check your project linker input settings to see what libraries
you link to - you're looking for ones that are probably your
organisation's, or a 3'rd party tool.
You are right., My project is linking to library files, which I don't have
source code, I guess I won't be able to move to VC++7.
I should have the source code for the lib/obj to recomplie and use it in
VC++7! right?
Prabu
"David Lowndes" <dav...@mvps.org> wrote in message
news:bif3ju84esmenc8s5...@4ax.com...
Yes, that's right.